From 49f2f6346483132a5a0f899f12dd95065c643547 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:16:20 +0200 Subject: [PATCH] Let know we don't support HTTP compression It looks like newer Fortinet gateways will send compressed HTTP if we notify them we support it - but we don't. --- src/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.c b/src/http.c index dd98769d..80322894 100644 --- a/src/http.c +++ b/src/http.c @@ -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"