Skip to content

Commit

Permalink
Let know we don't support HTTP compression
Browse files Browse the repository at this point in the history
It looks like newer Fortinet gateways will send compressed HTTP
if we notify them we support it - but we don't.
  • Loading branch information
DimitriPapadopoulos committed Apr 22, 2024
1 parent 82e4401 commit 49f2f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static int do_http_request(struct tunnel *tunnel,
"Host: %s:%d\r\n"
"User-Agent: %s\r\n"
"Accept: */*\r\n"
"Accept-Encoding: gzip, deflate, br\r\n"
"Accept-Encoding: identity\r\n"
"Pragma: no-cache\r\n"
"Cache-Control: no-store, no-cache, must-revalidate\r\n"
"If-Modified-Since: Sat, 1 Jan 2000 00:00:00 GMT\r\n"
Expand Down

0 comments on commit 49f2f63

Please sign in to comment.