Skip to content

Commit

Permalink
explicitely disable reqwest's decompression
Browse files Browse the repository at this point in the history
  • Loading branch information
ducaale committed Apr 15, 2022
1 parent cdf9591 commit 9f17c2b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ fn run(args: Cli) -> Result<i32> {
.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
Expand Down

0 comments on commit 9f17c2b

Please sign in to comment.