Update httpx.go

Fix proxy
This commit is contained in:
Bimko 2020-07-03 14:59:59 +03:00 committed by GitHub
parent d22b33cb92
commit 729b817934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ func main() {
httpxOptions.RetryMax = options.Retries
httpxOptions.FollowRedirects = options.FollowRedirects
httpxOptions.FollowHostRedirects = options.FollowHostRedirects
httpxOptions.HttpProxy = options.HttpProxy
httpxOptions.CustomHeaders = make(map[string]string)
for _, customHeader := range options.CustomHeaders {