diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/http_client_async.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index f06474219..79fe74899 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -2122,7 +2122,7 @@ pub fn buildRequest(this: *HTTPClient, body_len: usize) picohttp.Request { header_count += 1; } - if (!override_accept_encoding) { + if (!override_accept_encoding and !this.disable_decompression) { request_headers_buf[header_count] = accept_encoding_header; header_count += 1; } |
