Releases: seanmonstar/reqwest
Releases · seanmonstar/reqwest
v0.9.12
Features
- Add
ClientBuilder::tcp_nodelay()
to allow disabling Nagle's algorithm. - Add
ClientBuilder::max_idle_per_host()
to allow reducing the number of idle pooled connections. - Add
RequestBuilder::bearer_auth()
method to async builder.
Fixes
- Fix capitalization error in async
RequestBuilder::basic_auth()
. - Fix ALPN causing issues when using a Proxy.
v0.9.11
Features
- Add
multipart::Form::percent_encode_noop()
to allow for servers which don't support percent encoding of paramters. - Add
ClientBuilder::http1_title_case_headers()
to force request headers to use Title-Case. - Add
ClientBuilder::connect_timeout()
to allow setting only a connect timeout.
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.