commit
39f00cd756
@ -122,6 +122,7 @@ func Extract(format, path string, headers map[string]string, toExtract []string)
|
|||||||
// Send the request and handle the response.
|
// Send the request and handle the response.
|
||||||
tr := &http.Transport{
|
tr := &http.Transport{
|
||||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: insecureTLS},
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: insecureTLS},
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
}
|
}
|
||||||
client := &http.Client{Transport: tr}
|
client := &http.Client{Transport: tr}
|
||||||
r, err := client.Do(request)
|
r, err := client.Do(request)
|
||||||
|
Loading…
Reference in New Issue
Block a user