Skip to content

Releases: seanmonstar/reqwest

v0.9.20

08 Oct 21:11
Compare
Choose a tag to compare
  • Improve error message when proxy connections fail to tunnel.
  • Update mime_guess and rustls dependencies.

v0.9.19

19 Jul 19:34
Compare
Choose a tag to compare
  • 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 a Future of the full body decoded to a String.
  • Add Clone for Certificate.

v0.9.18

19 Jul 19:33
Compare
Choose a tag to compare
  • Fix Cookie headers to no longer send as percent-encoded (instead, exactly as sent by the server).

v0.9.17

19 Jul 19:33
Compare
Choose a tag to compare
  • Fix Cookie headers so as to not include attributes from the Set-Cookie (like HttpOnly, Secure, etc).

v0.9.16

19 Jul 19:33
Compare
Choose a tag to compare
  • 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

19 Apr 19:39
Compare
Choose a tag to compare

Fixes

  • Fix sending of "appended" request headers.

v0.9.14 (🍪 Cookies! 🍪)

19 Apr 19:38
Compare
Choose a tag to compare

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

19 Apr 19:37
Compare
Choose a tag to compare

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

20 Mar 22:12
Compare
Choose a tag to compare

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

20 Mar 22:12
Compare
Choose a tag to compare

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.