From e03a22fb7141055116e83715d0a0cf8488631250 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 6 Feb 2017 09:33:44 +0900 Subject: [PATCH] proxy friendly --- wuzz.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wuzz.go b/wuzz.go index 8d221b9..56abd92 100644 --- a/wuzz.go +++ b/wuzz.go @@ -23,7 +23,9 @@ import ( var CLIENT *http.Client = &http.Client{ Timeout: time.Duration(5 * time.Second), } -var TRANSPORT *http.Transport = &http.Transport{} +var TRANSPORT *http.Transport = &http.Transport{ + Proxy: http.ProxyFromEnvironment, +} var VIEWS []string = []string{ "url",