diff --git a/models/plugin/client/http_proxy.go b/models/plugin/client/http_proxy.go index b2f4362..0860082 100644 --- a/models/plugin/client/http_proxy.go +++ b/models/plugin/client/http_proxy.go @@ -231,6 +231,7 @@ func removeProxyHeaders(req *http.Request) { func getBadResponse() *http.Response { header := make(map[string][]string) header["Proxy-Authenticate"] = []string{"Basic"} + header["Connection"] = []string{"close"} res := &http.Response{ Status: "407 Not authorized", StatusCode: 407,