From 9f17c2bc18e0f2826b8dc413100ba9fac3ee3fd2 Mon Sep 17 00:00:00 2001 From: ducaale Date: Fri, 15 Apr 2022 16:34:08 +0100 Subject: [PATCH] explicitely disable reqwest's decompression --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e4930199..a01c25b7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -152,7 +152,10 @@ fn run(args: Cli) -> Result { .use_rustls_tls() .http2_adaptive_window(true) .redirect(reqwest::redirect::Policy::none()) - .timeout(timeout); + .timeout(timeout) + .no_gzip() + .no_deflate() + .no_brotli(); if let Some(Some(tls_version)) = args.ssl { client = client