diff --git a/ext/imagefmt/driver.go b/ext/imagefmt/driver.go index 6997e93b..1ed87a1e 100644 --- a/ext/imagefmt/driver.go +++ b/ext/imagefmt/driver.go @@ -122,6 +122,7 @@ func Extract(format, path string, headers map[string]string, toExtract []string) // Send the request and handle the response. tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: insecureTLS}, + Proxy: http.ProxyFromEnvironment, } client := &http.Client{Transport: tr} r, err := client.Do(request)