kylewlacy opened a new pull request, #7143: URL: https://github.com/apache/arrow-rs/pull/7143
# Which issue does this PR close? Closes #7142. # Rationale for this change Resolves an issue where enabling extra compression features in reqwest (`zstd`, `brotli`, `deflate`) would cause the client to automatically include the `Accept-Encoding` header in the request, which-- in turn-- may cause an HTTP server to respond with compression. Reqwest would then filter out `Content-Length` from the response, resulting in an error. # What changes are included in this PR? This PR expands on the work from #6843 to disable all the compression formats that reqwest (currently) supports. Now, in addition to disabling `gzip`, the compression formats `zstd`, `brotli`, and `deflate` are also disabled. # Are there any user-facing changes? Behind the scenes, the `Accept-Encoding` header on outbound HTTP requests may have changed if the reqwest features `zstd`, `brotli`, or `deflate` were enabled. The only effect users should notice is that HTTP requests that were once failing due to a missing `Content-Length` header may now succeed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
