Repository navigation
What's Changed
This release contains security fixes for redirects, to avoid sending credentials/bodies to unintended servers when following a redirect. The new behavior is closer to the specs and what other http libraries usually do, such as reqwest and curl. This might cause breakage in some cases, to preserve the old behavior disable follow redirects, handle the status codes and implement your own logic.
It also contains many fixes for proxy support.
- Don't read a body for HEAD, 1xx, 204 and 304 responses (#201)
- fix: follow redirect method semantics instead of re-sending the body
- fix: don't forward credentials to cross-origin redirect targets (reported by @ucsurf)
- Update base64 requirement from 0.22.0 to 0.23.1
- fix: correct proxy handling for env parsing, auth and Host header (#203, #204, #205, #206, #207, #208, #209)
Full Changelog: v0.31.0...v0.32.0