diff --git a/proxy.go b/proxy.go index 60d1a8b..9490bda 100644 --- a/proxy.go +++ b/proxy.go @@ -173,6 +173,7 @@ func session(ctx context.Context, h *Host, header http.Header, c caps) (map[stri req.Header.Add(key, value) } } + req.Header.Del("Accept-Encoding") if h.Username != "" && h.Password != "" { req.SetBasicAuth(h.Username, h.Password) }