Releases: seanmonstar/reqwest
Releases · seanmonstar/reqwest
v0.9.20
- Improve error message when proxy connections fail to tunnel.
- Update
mime_guess
andrustls
dependencies.
v0.9.19
- Add
ClientBuilder::use_sys_proxy()
to enable automatic detect of HTTP proxies configured on the system. - Add
ClientBuilder::no_proxy()
to disable system proxies. This is the default for 0.9, but will change to detecting system proxies by default in 0.10. - Add support for streaming request bodies in the async client.
- Add
async::Response::text()
that returns aFuture
of the full body decoded to aString
. - Add
Clone
forCertificate
.
v0.9.18
- Fix
Cookie
headers to no longer send as percent-encoded (instead, exactly as sent by the server).
v0.9.17
- Fix
Cookie
headers so as to not include attributes from theSet-Cookie
(likeHttpOnly
,Secure
, etc).
v0.9.16
- Add
Response::text_with_charset()
to allow setting the default charset to decode. - Add
Error::source()
implementation. - Add
async::ClientBuilder::timeout()
option, will timeout the connect, request, and response body futures. - Fix gzip + chunked transfer encoding issue preventing connection reuse.
- Fix
RequestBuilder::query()
to not add just"?"
if the encoded query is empty. - Fix including new cookie headers when response is a redirect.
v0.9.15
Fixes
- Fix sending of "appended" request headers.
v0.9.14 (🍪 Cookies! 🍪)
Features
- Add optional support for SOCKS5 proxies, by enabling the
socks5
cargo feature. - Add Cookie Store support to
Client
, automatically handling cookies for a session. - Add
ClientBuilder::cookie_store(enable: bool)
method to enable a cookie store that persists across requests. - Add
Response::cookies()
accessor that allows iterating over response cookies. - Fix
Proxy
to check the URL for a username and password.
v0.9.13
Fixes
- Fix panic on some invalid
Location
headers during redirects (error is logged and redirect response is returned instead). - Fix instance when server notices streaming request body is complete before reqwest does.
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.