Specify always a Proxy in all custom transports.

Fixes #535
This commit is contained in:
Mariano Cano 2021-04-14 19:35:31 -07:00
parent 0ec75c98cf
commit 02a5879cfe

View file

@ -57,6 +57,7 @@ func newInsecureClient() *uaClient {
return &uaClient{ return &uaClient{
Client: &http.Client{ Client: &http.Client{
Transport: &http.Transport{ Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}, },
}, },