An easy and powerful Rust HTTP Client
ClientBuilder::tls_info(bool)
, which will put tls::TlsInfo
into the response extensions.ClientBuilder::http1_ignore_invalid_headers_in_responses()
option.ClientBuilder::http1_allow_spaces_after_header_name_in_responses()
option.ALL_PROXY
environment variable.use_preconfigured_tls
when combined with HTTP/3.deflate
decompression from using the zlib decoder.Response::{text, text_with_charset}()
to strip BOM characters.RequestBuilder::json()
method from overriding a previously set content-type
header. An existing value will be left in place.RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to log write_vectored
calls.Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.11.14...v0.11.15
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.ClientBuilder::dns_resolver()
option for custom DNS resolvers.ClientBuilder::tls_sni(bool)
option to enable or disable TLS Server Name Indication.Identity::from_pkcs8_pem()
constructor when using native-tls
.redirect::Policy::limited(0)
from following any redirects.ClientBuilder::resolve_to_addrs()
which allows a slice of IP addresses to be specified for a single host.Response::upgrade()
to await whether the server agrees to an HTTP upgrade.