Skip to content

Commit

Permalink
Add more detail to README
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipleblanc committed Dec 6, 2024
1 parent 5ae4a01 commit 256c8c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ test tests::repro ... FAILED
```
Removing the `gzip` feature from `reqwest` in `Cargo.toml` restores the correct behavior.
This bug happens because the `reqwest` crate [automatically decompresses] gzipped responses when the `gzip` feature is enabled and removes the `Content-Length` header in the process. The `object_store` crate expects the `Content-Length` header to be present, so it errors when it is not.
[automatically decompresses]: https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html#method.gzip

0 comments on commit 256c8c0

Please sign in to comment.