Releases: seanmonstar/reqwest
Releases · seanmonstar/reqwest
v0.9.10
Features
- Add
ClientBuilder::local_address()
to bind to a local IP address. - Add
Response::error_for_status_ref()
to return anError
while borrowing aResponse
.
Fixes
- Fix
Identity::from_pem
withrustls-tls
backend when using RSA private keys.
v0.9.9
Features
- Add
ClientBuilder::h2_prior_knowledge()
option to force HTTP2. - Add
Response::content_length()
to get the content-length of a response. - Enable ALPN h2 with the rustls-tls backend.
v0.9.8
Fixes
- Revert default DNS resolver to
getaddrinfo
in a threadpool. There is now atrust-dns
optional feature to enable the Trust-DNS resolver. - Detect
Certificate
andIdentity
errors at construction time.
v0.9.7
Fixes
- Fix DNS resolver on Android (reverted back to
getaddrinfo
). - Fix sending unicode
filename
s inmultipart/form-data
requests.
v0.9.6
Features
- Add
Proxy::basic_auth
method to support proxy authorization. - Add
rustls-tls
optional feature to use rustls instead of native-tls. - Add
try_clone
method toRequest
andRequestBuilder
. - Add
reqwest::async::multipart
support, similar to the synchronous API. - Adds
default-tls-vendored
optional feature to vendor OpenSSL.
Fixes
- Fix panic from top-level
reqwest::get
if client builder fails to build. - Removed timeout waiting for
reqwest::Client
runtime to startup. - Fix
RequestBuilder::headers
to properly append extra headers of the same name.
Performance
- Replaced DNS threadpool using
getaddrinfo
with a non-blocking DNS resolver.
v0.9.5
Features
- Adds
Response::remote_addr()
method to check the address of the connection used. - Adds
default-tls
crate feature, enabled by default, which allows users to disable TLS.
v0.9.4
Features
- Adds
percent_encoding_path_segment
andpercent_encoding_attr_char
configuration tomultipart::Form
.
Fixes
- Reverts
multipart::Form
default percent encoding format topath-segment
.
v0.9.3
Features
- Adds
multipart::Part::bytes()
to create a part of raw bytes. - Adds constructors for
Response
to help with testing.
Fixes
- Properly percent-encoding more illegal characters in multipart filenames.
- Ensure timed out requests cancel the associated async task.
v0.9.2
Fixes
- Fix panic when
Location
header has UTF-8 characters.
v0.9.1
Fixes
- Fix large request bodies failing because of improper handling of backpressure.
- Remove body-related headers when redirect changes a
POST
into aGET
. - Reduce memory size of
Response
andError
signicantly.