Releases: jayjamesjay/http_req
Releases · jayjamesjay/http_req
v0.13.0
What's new
- Default headers now include
User-Agent
- Update
RedirectPolicy
to allow creatingCustom
policies, which utilize uri - Support for
Authentication
(Basic and Bearer) - New dependencies
- base64 ^0.22.1
- zeroize ^1.8.1
Breaking changes
v0.12.0
What's new
- Support for redirects
RedirectPolicy
allows to define how to handle redirects- Default redirect limit is set to 5 to prevent infinite redirect loops
- Basic support for relative uris
- Improve timeout error handling
Breaking changes
RequestBuilder
is renamed toRequestMessage
Stream
usesconnect
method instead ofnew
to establish a connection
v0.11.1
- update dependencies (patch)
v0.11.0
What's new
- Improve memory management and overall stability
- Fix issue causing all data to be loaded into memory instead of dedicated writer
- Fix issue that could lead to exceeding timeout when server was sending data at very low speed as per #46 by @Shnatsel
- Ensure that response body is only read when the content-length is greater than 0 or is unknown as per #65 by @ghu
Stream
allows to more easily manage TCP connection and perform common operations on the underlying TCP stream- Update dependencies
- rustls ^0.23
- rustls-pemfile ^2.1
- webpki-roots ^0.26
- New dependencies (for rustls)
- rustls-pki-types ^ 1.7
Breaking changes
RequestBuilder
can no longer send requests by itself. It is now only used to prepare request messages.- Default
Request
timeout is set to 1 hour
v0.10.3
- update dependencies
v0.10.2
- update dependencies
v0.10.1
- update dependencies
v0.10.0
- update dependencies by @DamienVoreiter in #60
- rustls ^0.21
- unicase ^2.7
- webpki ^0.22 (fixes security issue briansmith/webpki#69)
- webpki-roots ^0.25
- add new dependencies
- rustls-pemfile ^1.0
- update examples
- update
Uri
parser
v0.9.3
- update dependencies
v0.9.2
- update dependencies