reqwest
higher level HTTP client library
0.13.4
660M downloads/mo
#138 most downloaded on crates.io
seanmonstar/reqwest
What this package is like to depend on
Last release 3 months ago
25 May 2026
Ships fairly regularly
a new release about every 5 weeks
Most releases are documented
notes for 104 of 122 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
125 releases · first in 2016
11 releases in the last 12 months
see the full history below
Release timeline
125 releases · Oct 2016 to May 2026Releases
latest 60 of 125-
0.13.425 May 2026Release notes
Open source →tl;dr
- Add
ClientBuilder::tls_sslkeylogfile(bool)option to allow using the related environment variable. - Add
ClientBuilder::http2_keep_alive_*options for theblockingclient. - Add TLS 1.3 support when using
native-tlsbackend. - Fix redirect handling to strip sensitive headers when the scheme changes.
- Fix HTTP/3 happy-eyeball connection creation.
- Upgrade hickory-resolver to 0.26.
What's Changed
- fix(tls): improve rustls-no-provider panic message and add module docs by @smythg4 in #3021
- fix: do not lose the url in error when decoding json by @Dushistov in #3026
- Add tls_sslkeylogfile builder method by @passcod in #2923
- fix(redirect): strip sensitive headers on scheme change across redirects by @SAY-5 in #3034
- chore: upgrade MSRV to 1.85 by @seanmonstar in #3038
- chore: clean up minimal-versions CI job by @seanmonstar in #3039
- fix(http3): use happy eyeballs for h3 connect by @lyuzichong in #3030
- fix: update hickory-resolver to 0.26 and adjust code accordingly by @seanmonstar in #3040
- fix: remove unwrap in hickory initialization by @mat813 in #3041
- feat(https): support TLS 1.3 as min version under native-tls 🎉 by @AverageHelper in #2975
- Expose keep alive configurations in blocking client by @aeb-dev in #3043
- Prepare v0.13.4 by @seanmonstar in #3046
New Contributors
- @smythg4 made their first contribution in #3021
- @Dushistov made their first contribution in #3026
- @SAY-5 made their first contribution in #3034
- @mat813 made their first contribution in #3041
- @AverageHelper made their first contribution in #2975
- @aeb-dev made their first contribution in #3043
Full Changelog: v0.13.3...v0.13.4
Release notes
Open source →- Add
ClientBuilder::tls_sslkeylogfile(bool)option to allow using the related environment variable. - Add
ClientBuilder::http2_keep_alive_*options for theblockingclient. - Add TLS 1.3 support when using
native-tlsbackend. - Fix redirect handling to strip sensitive headers when the scheme changes.
- Fix HTTP/3 happy-eyeball connection creation.
- Upgrade hickory-resolver to 0.26.
- Add
-
0.13.327 Apr 2026Release notes
Open source →tl;dr
- Fix CertificateRevocationList parsing of PEM values.
- Fix logging in resolver to only show host, not full URL.
- Fix hickory-dns to fallback to a default if
/etc/resolv.conffails. - Fix HTTP/3 to handle
STOP_SENDINGas not an error. - Fix HTTP/3 pool to remove timed out QUIC connections.
- Fix HTTP/3 connection establishment picking IPv4 and IPv6.
- Upgrade rustls-platform-verifier.
- (wasm) Only use wasm-bindgen on unknown-* targets.
What's Changed
- Update docs.rs Features by @JamesWiresmith in #2961
- fix: fallback to hickory_resolver's default config if reading /etc/resolv.conf fails by @monosans in #2797
- fix: remove timeout con by @cuiweixie in #2967
- http3: handle stop_sending without error by @anuraaga in #2978
- resolve: debug log to change only host by @lms0806 in #2992
- Edit reference link by @lms0806 in #2996
- docs: more accurate about default HTTP2 window sizes by @seanmonstar in #3007
- [HTTP/3] Optimize IPv6 fallback and enforce HTTPS scheme #2911 by @lyuzichong in #3006
- Upgrade rustls-platform-verifier by @jplatte in #3010
- use wasm-bindgen ecosystem only for wasm32-unknown-* target by @Ludea in #3000
- fix rustls crl pem parsing by @Threated in #3013
- docs(retry): include ReqRep in docsrs by @seanmonstar in #3020
New Contributors
- @JamesWiresmith made their first contribution in #2961
- @monosans made their first contribution in #2797
- @cuiweixie made their first contribution in #2967
- @anuraaga made their first contribution in #2978
- @lms0806 made their first contribution in #2992
- @lyuzichong made their first contribution in #3006
- @Ludea made their first contribution in #3000
Full Changelog: v0.13.2...v0.13.3
Release notes
Open source →- Fix CertificateRevocationList parsing of PEM values.
- Fix logging in resolver to only show host, not full URL.
- Fix hickory-dns to fallback to a default if
/etc/resolv.conffails. - Fix HTTP/3 to handle
STOP_SENDINGas not an error. - Fix HTTP/3 pool to remove timed out QUIC connections.
- Fix HTTP/3 connection establishment picking IPv4 and IPv6.
- Upgrade rustls-platform-verifier.
- (wasm) Only use wasm-bindgen on unknown-* targets.
-
0.13.206 Feb 2026Release notes
Open source →tl;dr
- Fix HTTP/2 and native-tls ALPN feature combinations.
- Fix HTTP/3 to send h3 ALPN.
- (wasm) fix
RequestBuilder::json()from override previously set content-type.
What's Changed
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #2921
- Update readme for 0.13 by @VojtaStanek in #2926
- fix http2 feature is not enabled for "native-tls" by @fox0 in #2927
- chore(deps): remove unused webpki-roots and rustls-native-certs by @seanmonstar in #2932
- docs: native-tls-alpn has changed to native-tls-no-alpn by @seanmonstar in #2940
- Specify h3 alpn for http3 connector by @passcod in #2929
- update copyright year to 2026 by @taozui472 in #2943
- fix(json): custom content-type overidden by json method for wasm by @Narendran-KT in #2908
- chore: upgrade wasm-streams to v0.5 by @xangelix in #2958
- chore(ci): add windows and linux arm64 to ci by @dennisameling in #2960
New Contributors
- @VojtaStanek made their first contribution in #2926
- @fox0 made their first contribution in #2927
- @passcod made their first contribution in #2929
- @taozui472 made their first contribution in #2943
- @Narendran-KT made their first contribution in #2908
- @xangelix made their first contribution in #2958
- @dennisameling made their first contribution in #2960
Full Changelog: v0.13.1...v0.13.2
Release notes
Open source →- Fix HTTP/2 and native-tls ALPN feature combinations.
- Fix HTTP/3 to send h3 ALPN.
- (wasm) fix
RequestBuilder::json()from override previously set content-type.
-
0.13.130 Dec 2025Release notes
Open source →What's Changed
- http3: depend on quinn/rustls-aws-lc-rs to avoid ring dependency by @djc in #2917
- fix rustls on android by @seanmonstar in #2918
Full Changelog: v0.13.0...v0.13.1
Release notes
Open source →- Fixes compiling with rustls on Android targets.
v0.13.0
- Breaking changes:
rustlsis now the default TLS backend, instead ofnative-tls.rustlscrypto provider defaults to aws-lc instead of ring. (rustls-no-providerexists if you want a different crypto provider)rustls-tlshas been renamed torustls.- rustls roots features removed,
rustls-platform-verifieris used by default.- To use different roots, call
tls_certs_only(your_roots).
- To use different roots, call
native-tlsnow includes ALPN. To disable, usenative-tls-no-alpn.queryandformare now crate features, disabled by default.- Long-deprecated methods and crate features have been removed (such as
trust-dns, which was renamedhickory-dnsa while ago).
- Many TLS-related methods renamed to improve autocompletion and discovery, but previous name left in place with a "soft" deprecation. (just documented, no warnings)
- For example, prefer
tls_backend_rustls()overuse_rustls_tls().
- For example, prefer
-
0.13.030 Dec 2025Release notes
Open source →Breaking changes
rustlsis now the default TLS backend, instead ofnative-tls.rustlscrypto provider defaults to aws-lc instead of ring. (rustls-no-providerexists if you want a different crypto provider)rustls-tlshas been renamed torustls.- rustls roots features removed,
rustls-platform-verifieris used by default.- To use different roots, call
tls_certs_only(your_roots).
- To use different roots, call
native-tlsnow includes ALPN. To disable, usenative-tls-no-alpn.queryandformare now crate features, disabled by default.- Long-deprecated methods and crate features have been removed (such as
trust-dns, which was renamedhickory-dnsa while ago). - Many TLS-related methods renamed to improve autocompletion and discovery, but previous name left in place with a "soft" deprecation. (just documented, no warnings)
- For example, prefer
tls_backend_rustls()overuse_rustls_tls().
- For example, prefer
Pull Requests in General
- start 0.13 dev by @seanmonstar in #2894
- Make
serdeoptional by introducingquery,formfeatures, and re-working WASM header parsing by @CathalMullan in #2858 - replace
ClientBuilder::dns_resolverwithdns_resolver2by @seanmonstar in #2898 - feat: make Rustls the default TLS provider by @calavera in #2897
- feat: consolidate TLS options with rustls-platform-verifier by @seanmonstar in #2891
- remove long-deprecated methods: trust-dns and non-wasm-cors by @seanmonstar in #2899
- rename rustls-tls feature to just rustls by @seanmonstar in #2900
- remove deprecated features trust-dns and macos-system-configuration by @seanmonstar in #2901
- chore: separate rustls and rustls-no-provider features by @seanmonstar in #2903
- rustls: allow windows to use extra roots by @seanmonstar in #2904
- v0.13.0-rc.1 by @seanmonstar in #2905
- Enable ALPN by default in native-tls by @ducaale in #2907
- v0.13.0 by @seanmonstar in #2915
New Contributors
- @CathalMullan made their first contribution in #2858
Full Changelog: v0.12.28...v0.13.0
-
0.13.0-rc.123 Dec 2025 pre-releaseRelease notes
Open source →👀 Discussion here if you give it try, thanks!
Main breaking changes
- rustls is now default instead of native-tls
- rustls provider defaults to aws-lc instead of ring (
rustls-no-providerexists if you want to enable a different one) - rustls-tls renamed to rustls
- rustls roots features removed, platform-verifier is used instead
- To use different roots instead, use
tls_certs_only(your_roots).
- To use different roots instead, use
- Many TLS-related methods renamed, but previous name left in place with a "soft" deprecated (just documented, no warnings).
- query and form are now crate features, disabled by default
- Long-deprecated methods and crate features have been removed.
PRs
- start 0.13 dev by @seanmonstar in #2894
- Make
serdeoptional by introducingquery,formfeatures, and re-working WASM header parsing by @CathalMullan in #2858 - replace
ClientBuilder::dns_resolverwithdns_resolver2by @seanmonstar in #2898 - feat: make Rustls the default TLS provider by @calavera in #2897
- feat: consolidate TLS options with rustls-platform-verifier by @seanmonstar in #2891
- remove long-deprecated methods: trust-dns and non-wasm-cors by @seanmonstar in #2899
- rename rustls-tls feature to just rustls by @seanmonstar in #2900
- remove deprecated features trust-dns and macos-system-configuration by @seanmonstar in #2901
- chore: separate rustls and rustls-no-provider features by @seanmonstar in #2903
- rustls: allow windows to use extra roots by @seanmonstar in #2904
- v0.13.0-rc.1 by @seanmonstar in #2905
New Contributors
- @CathalMullan made their first contribution in #2858
Full Changelog: v0.12.28...v0.13.0-rc.1
-
0.12.2822 Dec 2025Release notes
Open source →What's Changed
- fix: correctly import TokioIo on Windows by @seanmonstar in #2896
Full Changelog: v0.12.27...v0.12.28
-
0.12.2722 Dec 2025Release notes
Open source →tl;dr
- Add
ClientBuilder::windows_named_pipe(name)option that will force all requests over that Windows Named Pipe.
What's Changed
- chore: Disable unused tokio-util codec feature by @tottoto in #2893
- chore: Use http_body_util::BodyDataStream by @tottoto in #2892
- feat: add windows_named_pipe() option to client builder by @seanmonstar in #2789
Full Changelog: v0.12.26...v0.12.27
Release notes
Open source →- Add
ClientBuilder::windows_named_pipe(name)option that will force all requests over that Windows Named Piper.
- Add
-
0.12.2615 Dec 2025Release notes
Open source →tl;dr
- Fix sending
Accept-Encodingheader only with values configured with reqwest, regardless of underlying tower-http config.
What's Changed
- deps: update cookie_store by @seanmonstar in #2886
- fix: disable default compression from tower-http if not enabled in reqwest by @seanmonstar in #2889
- fix(http3): correct compression defaults by @seanmonstar in #2890
Full Changelog: v0.12.25...v0.12.26
Release notes
Open source →- Fix sending
Accept-Encodingheader only with values configured with reqwest, regardless of underlying tower-http config.
- Fix sending
-
0.12.2508 Dec 2025Release notes
Open source →Highlights
- Add
Error::is_upgrade()to determine if the error was from an HTTP upgrade. - Fix sending
Proxy-Authorizationif only username is configured. - Fix sending
Proxy-Authorizationto HTTPS proxies when the target is HTTP. - Refactor internal decompression handling to use tower-http.
What's Changed
- tests: fix wasm timeout test with uncached response by @seanmonstar in #2853
- docs: document connection pooling behavior by @vinzmyko in #2851
- docs: document WASM client by @vinzmyko in #2859
- chore: minor improvement for docs by @black5box in #2862
- fix: send
proxy-authorizationeven with emptypasswordby @barjin in #2868 - feat(error): add
is_upgrademethod to detect protocol upgrade errors by @0x676e67 in #2822 - Use decompression from tower-http by @ducaale in #2840
- fix(proxy): forward Proxy-Authorization header to HTTPS proxies for HTTP targets by @0x676e67 in #2872
- v0.12.25 by @seanmonstar in #2880
New Contributors
- @vinzmyko made their first contribution in #2851
- @black5box made their first contribution in #2862
- @barjin made their first contribution in #2868
Full Changelog: v0.12.24...v0.12.25
Release notes
Open source →- Add
Error::is_upgrade()to determine if the error was from an HTTP upgrade. - Fix sending
Proxy-Authorizationif only username is configured. - Fix sending
Proxy-Authorizationto HTTPS proxies when the target is HTTP. - Refactor internal decompression handling to use tower-http.
- Add
-
0.12.2413 Oct 2025Release notes
Open source →- Refactor cookie handling to an internal middleware.
- Refactor internal random generator.
- Refactor base64 encoding to reduce a copy.
- Documentation updates.
-
0.12.2312 Aug 2025Release notes
Open source →- Add
ClientBuilder::unix_socket(path)option that will force all requests over that Unix Domain Socket. - Add
ClientBuilder::retry(policy)andreqwest::retry::Builderto configure automatic retries. - Add
ClientBuilder::dns_resolver2()with more ergonomic argument bounds, allowing more resolver implementations. - Add
http3_*options toblocking::ClientBuilder. - Fix default TCP timeout values to enabled and faster.
- Fix SOCKS proxies to default to port 1080
- (wasm) Add cache methods to
RequestBuilder.
- Add
-
0.12.2201 Jul 2025 -
0.12.2130 Jun 2025Release notes
Open source →- Fix socks proxy to use
socks4a://instead ofsocks4h://. - Fix
Error::is_timeout()to check for hyper and IO timeouts too. - Fix request
Errorto again include URLs when possible. - Fix socks connect error to include more context.
- (wasm) implement
DefaultforBody.
- Fix socks proxy to use
-
0.12.2010 Jun 2025Release notes
Open source →- Add
ClientBuilder::tcp_user_timeout(Duration)option to setTCP_USER_TIMEOUT. - Fix proxy headers only using the first matched proxy.
- (wasm) Fix re-adding
Error::is_status().
- Add
-
0.12.1902 Jun 2025Release notes
Open source →- Fix redirect that changes the method to GET should remove payload headers.
- Fix redirect to only check the next scheme if the policy action is to follow.
- (wasm) Fix compilation error if
cookiesfeature is enabled (by the way, it's a noop feature in wasm).
-
0.12.1828 May 2025 -
0.12.1728 May 2025 -
0.12.1627 May 2025Release notes
Open source →- Add
ClientBuilder::http3_congestion_bbr()to enable BBR congestion control. - Add
ClientBuilder::http3_send_grease()to configure whether to send use QUIC grease. - Add
ClientBuilder::http3_max_field_section_size()to configure the maximum response headers. - Add
ClientBuilder::tcp_keepalive_interval()to configure TCP probe interval. - Add
ClientBuilder::tcp_keepalive_retries()to configure TCP probe count. - Add
Proxy::headers()to add extra headers that should be sent to a proxy. - Fix
redirect::Policy::limit()which had an off-by-1 error, allowing 1 more redirect than specified. - Fix HTTP/3 to support streaming request bodies.
- (wasm) Fix null bodies when calling
Response::bytes_stream().
- Add
-
0.12.1518 Mar 2025Release notes
Open source →- Fix Windows to support both
ProxyOverrideandNO_PROXY. - Fix http3 to support streaming response bodies.
- Fix http3 dependency from public API misuse.
- Fix Windows to support both
-
0.12.1412 Mar 2025Release notes
Open source →- Fix missing
fetch_mode_no_cors(), marking as deprecated when not on WASM.
- Fix missing
-
0.12.1311 Mar 2025Release notes
Open source →- Add
Form::into_reader()for blockingmultipartforms. - Add
Form::into_stream()for asyncmultipartforms. - Add support for SOCKS4a proxies.
- Fix decoding responses with multiple zstd frames.
- Fix
RequestBuilder::form()from overwriting a previously setContent-Typeheader, like the other builder methods. - Fix cloning of request timeout in
blocking::Request. - Fix http3 synchronization of connection creation, reducing unneccesary extra connections.
- Fix Windows system proxy to use
ProxyOverrideas aNO_PROXYvalue. - Fix blocking read to correctly reserve and zero read buffer.
- (wasm) Add support for request timeouts.
- (wasm) Fix
Error::is_timeout()to return true when from a request timeout.
- Add
-
0.12.1231 Dec 2024 -
0.12.1127 Dec 2024Release notes
Open source →- Fix decompression returning an error when HTTP/2 ends with an empty data frame.
-
0.12.1026 Dec 2024Release notes
Open source →- Add
ClientBuilder::connector_layer()to allow customizing the connector stack. - Add
ClientBuilder::http2_max_header_list_size()option. - Fix propagating body size hint (
content-length) information when wrapping bodies. - Fix decompression of chunked bodies so the connections can be reused more often.
- Add
-
0.12.928 Oct 2024Release notes
Open source →- Add
tls::CertificateRevocationListssupport. - Add crate features to enable webpki roots without selecting a rustls provider.
- Fix
connection_verbose()to output read logs. - Fix
multipart::Part::file()to automatically include content-length. - Fix proxy to internally no longer cache system proxy settings.
- Add
-
0.12.830 Sep 2024Release notes
Open source →- Add support for SOCKS4 proxies.
- Add
multipart::Form::file()method for adding files easily. - Add
Body::wrap()to wrap anyhttp_body::Bodytype. - Fix the pool configuration to use a timer to remove expired connections.
-
0.12.719 Aug 2024 -
0.12.619 Aug 2024Release notes
Open source →- Add support for
danger_accept_invalid_hostnamesforrustls. - Add
impl Service<http::Request<Body>>forClientand&'_ Client. - Add support for
!Syncbodies inBody::wrap_stream(). - Enable happy eyeballs when
hickory-dnsis used. - Fix
Proxyso thatHTTP(S)_PROXYvalues take precedence overALL_PROXY. - Fix
blocking::RequestBuilder::header()from unsettingsensitiveon passed header values.
- Add support for
-
0.12.517 Jun 2024Release notes
Open source →- Add
blocking::ClientBuilder::dns_resolver()method to change DNS resolver in blocking client. - Add
http3feature back, still requiringreqwest_unstable. - Add
rustls-tls-no-providerCargo feature to use rustls without a crypto provider. - Fix
Accept-Encodingheader combinations. - Fix http3 resolving IPv6 addresses.
- Internal: upgrade to rustls 0.23.
- Add
-
0.12.419 Apr 2024Release notes
Open source →- Add
zstdsupport, enabled withzstdCargo feature. - Add
ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.
- Add
-
0.12.305 Apr 2024Release notes
Open source →- Add
FromStrfordns::Name. - Add
ClientBuilder::built_in_webpki_certs(bool)to enable them separately. - Add
ClientBuilder::built_in_native_certs(bool)to enable them separately. - Fix sending
content-length: 0for GET requests. - Fix response body
content_length()to return value when timeout is configured. - Fix
ClientBuilder::resolve()to use lowercase domain names.
- Add
-
0.12.225 Mar 2024Release notes
Open source →- Fix missing ALPN when connecting to socks5 proxy with rustls.
- Fix TLS version limits with rustls.
- Fix not detected ALPN h2 from server with native-tls.
-
0.12.122 Mar 2024Release notes
Open source →- Fix
ClientBuilder::interface()when no TLS is enabled. - Fix
TlsInfo::peer_certificate()being truncated with rustls. - Fix panic if
http2feature disabled but TLS negotiated h2 in ALPN. - Fix
DisplayforErrorto not include its source error.
v0.12.0
- Upgrade to
hyper,http, andhttp-bodyv1. - Add better support for converting to and from
http::Requestandhttp::Response. - Add
http2optional cargo feature, default on. - Add
charsetoptional cargo feature, default on. - Add
macos-system-configurationcargo feature, default on. - Change all optional dependencies to no longer be exposed as implicit features.
- Add
ClientBuilder::interface(str)to specify the local interface to bind to. - Experimental: disables the
http3feature temporarily.
- Fix
-
0.12.020 Mar 2024Nothing published for this version
-
0.11.2719 Mar 2024Release notes
Open source →- Add
hickory-dnsfeature, deprecatingtrust-dns. - (wasm) Fix
Form::text()to not set octet-stream for plain text fields.
- Add
-
0.11.2612 Mar 2024 -
0.11.2508 Mar 2024Release notes
Open source →- Fix
Certificate::from_pem_bundle()parsing. - Fix Apple linker errors from detecting system proxies.
- Fix
-
0.11.2431 Jan 2024Release notes
Open source →- Add
Certificate::from_pem_bundle()to add a bundle. - Add
http3_prior_knowledge()to blocking client builder. - Remove
Syncbounds requirement forBody::wrap_stream(). - Fix HTTP/2 to retry
REFUSED_STREAMrequests. - Fix instances of converting
UrltoUrithat could panic.
- Add
-
0.11.2318 Dec 2023Release notes
Open source →- Add
Proxy::custom_http_auth(val)for setting the rawProxy-Authorizationheader when connecting to proxies. - Fix redirect to reject locations that are not
http://orhttps://. - Fix setting
nodelaywhen TLS is enabled but URL is HTTP. - (wasm) Add
ClientBuilder::user_agent(val). - (wasm) add
multipart::Form::headers(headers).
- Add
-
0.11.2203 Oct 2023 -
0.11.2102 Oct 2023Release notes
Open source →- Add automatically detecting macOS proxy settings.
- Add
ClientBuilder::tls_info(bool), which will puttls::TlsInfointo the response extensions. - Fix trust-dns resolver from possible hangs.
- Fix connect timeout to be split among multiple IP addresses.
-
0.11.2023 Aug 2023 -
0.11.1921 Aug 2023Release notes
Open source →- Add
ClientBuilder::http1_ignore_invalid_headers_in_responses()option. - Add
ClientBuilder::http1_allow_spaces_after_header_name_in_responses()option. - Add support for
ALL_PROXYenvironment variable. - Add support for
use_preconfigured_tlswhen combined with HTTP/3. - Fix
deflatedecompression from using the zlib decoder. - Fix
Response::{text, text_with_charset}()to strip BOM characters. - Fix a panic when HTTP/3 is used if UDP isn't able to connect.
- Fix some dependencies for HTTP/3.
- Increase MSRV to 1.63.
- Add
-
0.11.1816 May 2023Release notes
Open source →- Fix
RequestBuilder::json()method from overriding a previously setcontent-typeheader. An existing value will be left in place. - Upgrade internal dependencies for rustls and compression.
- Fix
-
0.11.1728 Apr 2023Release notes
Open source →- Upgrade internal dependencies of Experimental HTTP/3 to use quinn v0.9
- (wasm) Fix blob url support
-
0.11.1627 Mar 2023 -
0.11.1520 Mar 2023Release notes
Open source →- Add
RequestBuildermethods to split and reconstruct from its parts. - Add experimental HTTP/3 support.
- Fix
connection_verboseto logwrite_vectoredcalls. - (wasm) Make requests actually cancel if the future is dropped.
- Add
-
0.11.1419 Jan 2023Release notes
Open source →- Adds
Proxy::no_proxy(url)that works like the NO_PROXY environment variable. - Adds
multipart::Part::headers(headers)method to add custom headers. - (wasm) Add
Response::bytes_stream(). - Perf: several internal optimizations reducing copies and memory allocations.
- Adds
-
0.11.1316 Nov 2022Release notes
Open source →- Add
ClientBuilder::dns_resolver()option for custom DNS resolvers. - Add
ClientBuilder::tls_sni(bool)option to enable or disable TLS Server Name Indication. - Add
Identity::from_pkcs8_pem()constructor when usingnative-tls. - Fix
redirect::Policy::limited(0)from following any redirects.
- Add
-
0.11.1220 Sep 2022Release notes
Open source →- Add
ClientBuilder::resolve_to_addrs()which allows a slice of IP addresses to be specified for a single host. - Add
Response::upgrade()to await whether the server agrees to an HTTP upgrade.
- Add
-
0.11.1113 Jun 2022Release notes
Open source →- Add HTTP/2 keep-alive configuration methods on
ClientBuilder. - Add
ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses(). - Add
impl Service<Request>forClientand&'_ Client. - (wasm) Add
RequestBuilder::basic_auth(). - Fix
RequestBuilder::headerto not overridesensitiveif user explicitly set on aHeaderValue. - Fix rustls parsing of elliptic curve private keys.
- Fix Proxy URL parsing of some invalid targets.
- Add HTTP/2 keep-alive configuration methods on
-
0.11.1014 Mar 2022Release notes
Open source →- Add
Error::url()to access the URL of an error. - Add
Response::extensions()to access thehttp::Extensionsof a response. - Fix
rustls-native-certsto log an error instead of panicking when loading an invalid system certificate. - Fix passing Basic Authorization header to proxies.
- Add
-
0.11.910 Jan 2022Release notes
Open source →- Add
ClientBuilder::http09_responses(bool)option to allow receiving HTTP/0.9 responses. - Fix HTTP/2 to retry requests interrupted by an HTTP/2 graceful shutdown.
- Fix proxy loading from environment variables to ignore empty values.
- Add
-
0.11.820 Dec 2021 -
0.11.730 Nov 2021Release notes
Open source →- Add
blocking::ClientBuilder::resolve()option, matching the async builder. - Implement
From<tokio::fs::File>forBody. - Fix
blockingrequest-scoped timeout applying to bodies as well. - (wasm) Fix request bodies using multipart vs formdata.
- Update internal
rustlsto 0.20.
- Add
-
0.11.618 Oct 2021 -
0.11.507 Oct 2021Release notes
Open source →- Add
ClientBuilder::http1_only()method. - Add
tls::Versiontype, andClientBuilder::min_tls_version()andClientBuilder::max_tls_version()methods. - Implement
TryFrom<Request>forhttp::Request. - Implement
CloneforIdentity. - Fix
NO_PROXYenvironment variable parsing to more closely match curl's. Comma-separated entries are now trimmed for whitespace, and*is allowed to match everything. - Fix redirection to respect
https_onlyoption. - (wasm) Add
Body::as_bytes()method. - (wasm) Fix sometimes wrong conversation of bytes into a
JsValue. - (wasm) Avoid dependency on serde-serialize feature.
- Add
-
0.11.421 Jun 2021Release notes
Open source →- Add
ClientBuilder::resolve()option to override DNS resolution for specific domains. - Add
native-tls-alpnCargo feature to use ALPN with the native-tls backend. - Add
ClientBuilder::deflate()option anddeflateCargo feature to support decoding response bodies using deflate. - Add
RequestBuilder::version()to allow setting the HTTP version of a request. - Fix allowing "invalid" certificates with the
rustls-tlsbackend, when the server uses TLS v1.2 or v1.3. - (wasm) Add
try_clonetoRequestandRequestBuilder
- Add
-
0.11.312 Apr 2021Release notes
Open source →- Add
impl From<hyper::Body> for reqwest::Body. - (wasm) Add credentials mode methods to
RequestBuilder.
- Add