Merge pull request #61 from sylus/feature-proxy

fix(http): Add proxy transport
This commit is contained in:
coryb
2016-12-17 14:06:45 -08:00
committed by GitHub
+1
View File
@@ -57,6 +57,7 @@ func New(opts map[string]interface{}) *Cli {
}
} else {
transport := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{},
}
if insecureSkipVerify, ok := opts["insecure"].(bool); ok {