Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 16fe0b3

Browse files
authored
Merge pull request #295 from vania-pooh/master
Correctly working with gzipped requests (fixes #294)
2 parents 457195e + 7a9a282 commit 16fe0b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proxy.go

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ func session(ctx context.Context, h *Host, header http.Header, c caps) (map[stri
173173
req.Header.Add(key, value)
174174
}
175175
}
176+
req.Header.Del("Accept-Encoding")
176177
if h.Username != "" && h.Password != "" {
177178
req.SetBasicAuth(h.Username, h.Password)
178179
}

0 commit comments

Comments
 (0)