-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Rust crate reqwest to 0.12.0 #18
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/reqwest-0.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4453426
to
57dc8ba
Compare
57dc8ba
to
9a039c9
Compare
9a039c9
to
f68ea87
Compare
f68ea87
to
ea1df04
Compare
ea1df04
to
7758363
Compare
7758363
to
49ed991
Compare
49ed991
to
5e72037
Compare
5e72037
to
118b958
Compare
118b958
to
e98deaa
Compare
e98deaa
to
adfd15b
Compare
adfd15b
to
2302064
Compare
2302064
to
91c5689
Compare
91c5689
to
d76432e
Compare
d76432e
to
0ea23a4
Compare
0ea23a4
to
dc291c9
Compare
dc291c9
to
5b763ea
Compare
5b763ea
to
cd4dad8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.9.0
->0.12.0
Release Notes
seanmonstar/reqwest (reqwest)
v0.12.9
Compare Source
tls::CertificateRevocationLists
support.connection_verbose()
to output read logs.multipart::Part::file()
to automatically include content-length.v0.12.8
Compare Source
multipart::Form::file()
method for adding files easily.Body::wrap()
to wrap anyhttp_body::Body
type.v0.12.7
Compare Source
impl Service<http::Request<_>>
forClient
.v0.12.6
Compare Source
danger_accept_invalid_hostnames
forrustls
.impl Service<http::Request<Body>>
forClient
and&'_ Client
.!Sync
bodies inBody::wrap_stream()
.hickory-dns
is used.Proxy
so thatHTTP(S)_PROXY
values take precendence overALL_PROXY
.blocking::RequestBuilder::header()
from unsettingsensitive
on passed header values.v0.12.5
Compare Source
blocking::ClientBuilder::dns_resolver()
method to change DNS resolver in blocking client.http3
feature back, still requiringreqwest_unstable
.rustls-tls-no-provider
Cargo feature to use rustls without a crypto provider.Accept-Encoding
header combinations.v0.12.4
Compare Source
zstd
support, enabled withzstd
Cargo feature.ClientBuilder::read_timeout(Duration)
, which applies the duration for each read operation. The timeout resets after a successful read.v0.12.3
Compare Source
FromStr
fordns::Name
.ClientBuilder::built_in_webpki_certs(bool)
to enable them separately.ClientBuilder::built_in_native_certs(bool)
to enable them separately.content-length: 0
for GET requests.content_length()
to return value when timeout is configured.ClientBuilder::resolve()
to use lowercase domain names.v0.12.2
Compare Source
v0.12.1
Compare Source
ClientBuilder::interface()
when no TLS is enabled.TlsInfo::peer_certificate()
being truncated with rustls.http2
feature disabled but TLS negotiated h2 in ALPN.Display
forError
to not include its source error.v0.12.0
Compare Source
hyper
,http
, andhttp-body
v1.http::Request
andhttp::Response
.http2
optional cargo feature, default on.charset
optional cargo feature, default on.macos-system-configuration
cargo feature, default on.ClientBuilder::interface(str)
to specify the local interface to bind to.http3
feature temporarily.v0.11.27
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Certificate::from_pem_bundle()
parsing.v0.11.24
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
trust-dns
is enabled.v0.11.21
ClientBuilder::tls_info(bool)
, which will puttls::TlsInfo
into the response extensions.v0.11.20
deflate
decompression back to using zlib, as outlined in the spec.v0.11.19
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.v0.11.18
RequestBuilder::json()
method from overriding a previously setcontent-type
header. An existing value will be left in place.v0.11.17
v0.11.16
Cargo.toml
.v0.11.15
RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to logwrite_vectored
calls.v0.11.14
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.v0.11.13
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 usingnative-tls
.redirect::Policy::limited(0)
from following any redirects.v0.11.12
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.v0.11.11
ClientBuilder
.ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()
.impl Service<Request>
forClient
and&'_ Client
.RequestBuilder::basic_auth()
.RequestBuilder::header
to not overridesensitive
if user explicitly set on aHeaderValue
.v0.11.10
Error::url()
to access the URL of an error.Response::extensions()
to access thehttp::Extensions
of a response.rustls-native-certs
to log an error instead of panicking when loading an invalid system certificate.v0.11.9
ClientBuilder::http09_responses(bool)
option to allow receiving HTTP/0.9 responses.v0.11.8
v0.11.7
blocking::ClientBuilder::resolve()
option, matching the async builder.From<tokio::fs::File>
forBody
.blocking
request-scoped timeout applying to bodies as well.rustls
to 0.20.v0.11.6
v0.11.5
ClientBuilder::http1_only()
method.tls::Version
type, andClientBuilder::min_tls_version()
andClientBuilder::max_tls_version()
methods.TryFrom<Request>
forhttp::Request
.Clone
forIdentity
.NO_PROXY
environment variable parsing to more closely match curl's. Comma-separated entries are now trimmed for whitespace, and*
is allowed to match everything.https_only
option.Body::as_bytes()
method.JsValue
.v0.11.4
ClientBuilder::resolve()
option to override DNS resolution for specific domains.native-tls-alpn
Cargo feature to use ALPN with the native-tls backend.ClientBuilder::deflate()
option anddeflate
Cargo feature to support decoding response bodies using deflate.RequestBuilder::version()
to allow setting the HTTP version of a request.rustls-tls
backend, when the server uses TLS v1.2 or v1.3.try_clone
toRequest
andRequestBuilder
v0.11.3
impl From<hyper::Body> for reqwest::Body
.RequestBuilder
.v0.11.2
CookieStore
trait to customize the type that stores and retrieves cookies for a session.cookie::Jar
as a defaultCookieStore
, easing creating some session cookies before creating theClient
.ClientBuilder::http2_adaptive_window()
option to configure an adaptive HTTP2 flow control behavior.ClientBuilder::http2_max_frame_size()
option to adjust the maximum HTTP2 frame size that can be received.IntoUrl
forString
, making it more convenient to create requests withformat!
.v0.11.1
ClientBuilder::tls_built_in_root_certs()
option to disable built-in root certificates.rustls-tls
glue to more often support ALPN to upgrade to HTTP/2.http://
if no scheme is found.runtime
feature.Request::new()
constructor.v0.11.27
Compare Source
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
Compare Source
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Compare Source
Certificate::from_pem_bundle()
parsing.v0.11.24
Compare Source
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Compare Source
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
Compare Source
trust-dns
is enabled.v0.11.21
Compare Source
ClientBuilder::tls_info(bool)
, which will puttls::TlsInfo
into the response extensions.v0.11.20
Compare Source
deflate
decompression back to using zlib, as outlined in the spec.v0.11.19
Compare Source
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.v0.11.18
Compare Source
RequestBuilder::json()
method from overriding a previously setcontent-type
header. An existing value will be left in place.v0.11.17
Compare Source
v0.11.16
Compare Source
Cargo.toml
.v0.11.15
Compare Source
RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to logwrite_vectored
calls.v0.11.14
Compare Source
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.v0.11.13
Compare Source
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 usingnative-tls
.redirect::Policy::limited(0)
from following any redirects.v0.11.12
Compare Source
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.v0.11.11
Compare Source
ClientBuilder
.ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()
.impl Service<Request>
forClient
and&'_ Client
.RequestBuilder::basic_auth()
.RequestBuilder::header
to not overridesensitive
if user explicitly set on aHeaderValue
.v0.11.10
Compare Source
Error::url()
to access the URL of an error.Response::extensions()
to access thehttp::Extensions
of a response.rustls-native-certs
to log an error instead of panicking when loading an invalid system certificate.v0.11.9
Compare Source
ClientBuilder::http09_responses(bool)
option to allow receiving HTTP/0.9 responses.v0.11.8
Compare Source
v0.11.7
Compare Source
blocking::ClientBuilder::resolve()
option, matching the async builder.From<tokio::fs::File>
forBody
.blocking
request-scoped timeout applying to bodies as well.rustls
to 0.20.v0.11.6
Compare Source
v0.11.5
Compare Source
ClientBuilder::http1_only()
method.tls::Version
type, andClientBuilder::min_tls_version()
andClientBuilder::max_tls_version()
methods.TryFrom<Request>
forhttp::Request
.Clone
forIdentity
.NO_PROXY
environment variable parsing to more closely match curl's. Comma-separated entries are now trimmed for whitespace, and*
is allowed to match everything.https_only
option.Body::as_bytes()
method.JsValue
.v0.11.4
Compare Source
ClientBuilder::resolve()
option to override DNS resolution for specific domains.native-tls-alpn
Cargo feature to use ALPN with the native-tls backend.ClientBuilder::deflate()
option anddeflate
Cargo feature to support decoding response bodies using deflate.RequestBuilder::version()
to allow setting the HTTP version of a request.rustls-tls
backend, when the server uses TLS v1.2 or v1.3.try_clone
toRequest
andRequestBuilder
v0.11.3
Compare Source
impl From<hyper::Body> for reqwest::Body
.RequestBuilder
.v0.11.2
Compare Source
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.1
Compare Source
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.v0.11.0
Compare Source
Change
multipart
to be an optional cargo feature.Remove deprecated methods.
Update to Tokio v1.0.
Update to Bytes v1.0.
Update to hyper v0.14.
v0.10.10
tcp_keepalive
option toblocking::ClientBuilder
.multipart::Part::stream_with_length
constructor, to create a streaming part with a known length.ClientBuilder::https_only
option, to allow requiring URLs to behttps
.tcp_keepalive
value to be disabled.v0.10.9
rustls-tls-native-roots
,rustls-tls-webpki-roots
, andrustls-tls-manual-roots
Cargo features, to configure which certificate roots to use with rustls.ClientBuilder::tcp_keepalive()
method to enable TCP keepalive.ClientBuilder::http1_writev()
method to force enable or disable vectored writes.Error::is_connect()
method to identify if the error is related to connection-establishment.blocking::ClientBuilder::brotli()
method.ClientBuilder::default_headers()
method.RequestBuilder::build()
method.v0.10.8
must_use
toRequestBuilder
andClientBuilder
.headers
method toRequestBuilder
.execute
method toClient
.TryFrom<http::Request>
forRequest
.window
to work in non-browser environments.v0.10.7
NO_PROXY
environment variable support.Error::{is_request, is_body, is_decode}
getters.reqwest::ClientBuilder
toreqwest::blocking::ClientBuilder
.headers_mut()
toreqwest::blocking::Response
.form()
,query()
,multipart
andbearer_auth()
toRequestBuilder
.v0.10.6
http:
orhttps:
schemes, returning an error instead.v0.10.5
ClientBuilder::pool_idle_timeout
option.ClientBuilder::pool_max_idle_per_host
option, deprecatemax_idle_per_host
.Response::content_length
for WASM target.TryFrom<http::Request>
forblocking::Request
.TryFrom<http::Request>
forRequest
.From<http::Request>
forRequest
.http::Request
to areqwest::Request
in an infallible fashion. It would panic if the conversion was not possible. Instead, the implementation has been changed toTryFrom
to indicate it could fail.v0.10.4
trust-dns
optional feature to change DNS resolver.bytes()
method toreqwest::blocking::Response
.buffer()
method toreqwest::blocking::Body
.From<http::Request>
forreqwest::Request
.v0.10.3
rustls
version.v0.10.2
brotli
feature.Client::use_preconfigured_tls(tls_connector)
allowing manual configuration of TLS options.Default
for blockingClient
,ClientBuilder
, andmultipart::Form
.Response::error_for_status()
method.Response::json()
method.Default
forClient
andClientBuilder
.v0.10.1
socks
optional feature to support SOCKS5 proxies.RequestBuilder::timeout()
to configure a timeout for a single request, instead of using the client's timeout.ClientBuilder::connection_verbose()
option to enable verbose IO logs.RequestBuilder::fetch_mode_no_cors()
option.Response::url()
getter method.v0.10.10
Compare Source
tcp_keepalive
option toblocking::ClientBuilder
.multipart::Part::stream_with_length
constructor, to create a streaming part with a known length.ClientBuilder::https_only
option, to allow requiring URLs to behttps
.tcp_keepalive
value to be disabled.v0.10.9
Compare Source
rustls-tls-native-roots
,rustls-tls-webpki-roots
, andrustls-tls-manual-roots
Cargo features, to configure which certificate roots to use with rustls.ClientBuilder::tcp_keepalive()
method to enable TCP keepalive.ClientBuilder::http1_writev()
method to force enable or disable vectored writes.Error::is_connect()
method to identify if the error is related to connection-establishment.blocking::ClientBuilder::brotli()
method.ClientBuilder::default_headers()
method.RequestBuilder::build()
method.v0.10.8
Compare Source
must_use
toRequestBuilder
andClientBuilder
.headers
method toRequestBuilder
.execute
method toClient
.TryFrom<http::Request>
forRequest
.window
to work in non-browser environments.v0.10.7
Compare Source
NO_PROXY
environment variable support.Error::{is_request, is_body, is_decode}
getters.reqwest::ClientBuilder
toreqwest::blocking::ClientBuilder
.headers_mut()
toreqwest::blocking::Response
.form()
,query()
,multipart
andbearer_auth()
toRequestBuilder
.v0.10.6
Compare Source
http:
orhttps:
schemes, returning an error instead.v0.10.5
Compare Source
ClientBuilder::pool_idle_timeout
option.ClientBuilder::pool_max_idle_per_host
option, deprecatemax_idle_per_host
.Response::content_length
for WASM target.TryFrom<http::Request>
forblocking::Request
.TryFrom<http::Request>
forRequest
.From<http::Request>
forRequest
.http::Request
to areqwest::Request
in an infallible fashion. It would panic if the conversion was not possible. Instead, the implementation has been changed toTryFrom
to indicate it could fail.v0.10.4
Compare Source
trust-dns
optional feature to change DNS resolver.bytes()
method toreqwest::blocking::Response
.buffer()
method toreqwest::blocking::Body
.From<http::Request>
forreqwest::Request
.v0.10.3
Compare Source
rustls
version.v0.10.2
Compare Source
brotli
feature.Client::use_preconfigured_tls(tls_connector)
allowing manual configuration of TLS options.Default
for blockingClient
,ClientBuilder
, andmultipart::Form
.Response::error_for_status()
method.Response::json()
method.Default
forClient
andClientBuilder
.v0.10.1
Compare Source
tcp_keepalive
option toblocking::ClientBuilder
.multipart::Part::stream_with_length
constructor, to create a streaming part with a known length.ClientBuilder::https_only
option, to allow requiring URLs to behttps
.tcp_keepalive
value to be disabled.v0.10.0
Compare Source
Add
std::future::Future
support.Add
wasm32-unknown-unknown
support (with fewer features).Add ability to pass async
Response
as thebody
of anotherRequest
.Add
Body::as_bytes()
method.Add
Response::bytes_stream()
method to get body as animpl Stream
.Add
Request::try_clone()
method.Change default
Client
API to async. The previous blocking client API is available atreqwest::blocking
.Change to no longer send a default
User-Agent
header. Add one viaClientBuilder::user_agent()
.Change to enable system/environment proxy detection by default.
Change
default-tls
feature to only includeClientBuilder
options that bothnative-tls
andrustls
support.Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:
blocking
: Thereqwest::blocking
(synchronous) client API.cookies
: Cookie store support.gzip
: Automatic response body decompression.json
: Request and response JSON body methods.stream
:futures::Stream
support.Change
Error
internal design, removing severalError::is_*
inspector methods.Change Redirect API:
redirect
module (for example,reqwest::RedirectPolicy
is nowreqwest::redirect::Policy
).loop_detected
andtoo_many_redirect
methods fromredirect::Attempt
, replaced with a genericerror
method.Fix checking
HTTP_PROXY
environment variable if it the environment is from a CGI script.Fix removal of username/password of parsed proxy URL.
Update
url
to v2.0.Update
hyper
to v0.13.Update
http
to v0.2.v0.9.19
ClientBuilder::use_sys_proxy()
to enable automatic detect of HTTP proxies configured on the system.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.async::Response::text()
that returns aFuture
of the full body decoded to aString
.Clone
forCertificate
.v0.9.18
Cookie
headers to no longer send as percent-encoded (instead, exactly as sent by the server).v0.9.17
Cookie
headers so as to not include attributes from theSet-Cookie
(likeHttpOnly
,Secure
, etc).v0.9.16
Response::text_with_charset()
to allow setting the default charset to decode.Error::source()
implementation.async::ClientBuilder::timeout()
option, will timeout the connect, request, and response body futures.RequestBuilder::query()
to not add just"?"
if the encoded query is empty.v0.9.15
v0.9.14
socks5
cargo feature.Client
, automatically handling cookies for a session.ClientBuilder::cookie_store(enable: bool)
method to enable a cookie store that persists across requests.Response::cookies()
accessor that allows iterating over response cookies.Proxy
to check the URL for a username and password.v0.9.13
Fixes
Location
headers during redirects (error is logged and redirect response is returned instead).v0.9.12
Features
ClientBuilder::tcp_nodelay()
to allow disabling Nagle's algorithm.ClientBuilder::max_idle_per_host()
to allow reducing the number of idle pooled connections.RequestBuilder::bearer_auth()
method to async builder.Fixes
RequestBuilder::basic_auth()
.v0.9.11
Features
multipart::Form::percent_encode_noop()
to allow for servers which don't support percent encoding of parameters.ClientBuilder::http1_title_case_headers()
to force request headers to use Title-Case.ClientBuilder::connect_timeout()
to allow setting only a connect timeout.v0.9.10
Features
ClientBuilder::local_address()
to bind to a local IP address.Response::error_for_status_ref()
to return anError
while borrowing aResponse
.Fixes
Identity::from_pem
withrustls-tls
backend when using RSA private keys.v0.9.9
Features
ClientBuilder::h2_prior_knowledge()
option to force HTTP2.Response::content_length()
to get the content-length of a response.v0.9.8
Fixes
getaddrinfo
in a threadpool. There is now atrust-dns
optional feature to enable the Trust-DNS resolver.Certificate
andIdentity
errors at construction time.v0.9.7
Fixes
getaddrinfo
).filename
s inmultipart/form-data
requests.v0.9.6
Features
Proxy::basic_auth
method to support proxy authorization.rustls-tls
optional feature to use rustls instead of native-tls.try_clone
method toRequest
andRequestBuilder
.reqwest::async::multipart
support, similar to the synchronous API.default-tls-vendored
optional feature to vendor OpenSSL.Fixes
reqwest::get
if client builder fails to build.reqwest::Client
runtime to startup.RequestBuilder::headers
to properly append extra headers of the same name.Performance
getaddrinfo
with a non-blocking DNS resolver.v0.9.5
Features
Response::remote_addr()
method to check the address of the connection used.default-tls
crate feature, enabled by default, which allows users to disable TLS.v0.9.4
Features
percent_encoding_path_segment
andpercent_encoding_attr_char
configuration tomultipart::Form
.Fixes
multipart::Form
default percent encoding format topath-segment
.v0.9.3
Features
multipart::Part::bytes()
to create a part of raw bytes.Response
to help with testing.Fixes
v0.9.2
Fixes
Location
header has UTF-8 characters.v0.9.1
Fixes
POST
into aGET
.Response
andError
signicantly.v0.9.22
Compare Source
v0.9.21
Compare Source
executor
method toClientBuilder
.User-Agent
header inCONNECT
requests to proxies.v0.9.20
Compare Source
mime_guess
andrustls
dependencies.v0.9.19
Compare Source
ClientBuilder::use_sys_proxy()
to enable automatic detect of HTTP proxies configured on the system.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.async::Response::text()
that returns aFuture
of the full body decoded to aString
.Clone
forCertificate
.v0.9.18
Compare Source
Cookie
headers to no longer send as percent-encoded (instead, exactly as sent by the server).v0.9.17
Compare Source
Cookie
headers so as to not include attributes from theSet-Cookie
(likeHttpOnly
,Secure
, etc).v0.9.16
Compare Source
Response::text_with_charset()
to allow setting the default charset to decode.Error::source()
implementation.async::ClientBuilder::timeout()
option, will timeout the connect, request, and response body futures.RequestBuilder::query()
to not add just"?"
if the encoded query is empty.v0.9.15
Compare Source
v0.9.14
Compare Source
socks5
cargo feature.Client
, automatically handling cookies for a session.ClientBuilder::cookie_store(enable: bool)
method to enable a cookie store that persists across requests.Response::cookies()
accessor that allows iterating over response cookies.Proxy
to check the URL for a username and password.v0.9.13
Compare Source
Fixes
Location
headers during redirects (error is logged and redirect response is returned instead).v0.9.12
Compare Source
Features
ClientBuilder::tcp_nodelay()
to allow disabling Nagle's algorithm.ClientBuilder::max_idle_per_host()
to allow reducing the number of idle pooled connections.RequestBuilder::bearer_auth()
method to async builder.Fixes
RequestBuilder::basic_auth()
.v0.9.11
Compare Source
Features
multipart::Form::percent_encode_noop()
to allow for servers which don't support percent encoding of parameters.ClientBuilder::http1_title_case_headers()
to force request headers to use Title-Case.ClientBuilder::connect_timeout()
to allow setting only a connect timeout.v0.9.10
Compare Source
Features
ClientBuilder::local_address()
to bind to a local IP address.Response::error_for_status_ref()
to return anError
while borrowing aResponse
.Fixes
Identity::from_pem
withrustls-tls
backend when using RSA private keys.v0.9.9
Compare Source
Features
ClientBuilder::h2_prior_knowledge()
option to force HTTP2.Response::content_length()
to get the content-length of a response.v0.9.8
Compare Source
Fixes
getaddrinfo
in a threadpool. There is now atrust-dns
optional feature to enable the Trust-DNS resolver.Certificate
andIdentity
errors at construction time.v0.9.7
Compare Source
Fixes
getaddrinfo
).filename
s inmultipart/form-data
requests.v0.9.6
Compare Source
Features
Proxy::basic_auth
method to support proxy authorization.rustls-tls
optional feature to use rustls instead of native-tls.try_clone
method toRequest
andRequestBuilder
.reqwest::async::multipart
support, similar to the synchronous API.default-tls-vendored
optional feature to vendor OpenSSL.Fixes
reqwest::get
if client builder fails to build.reqwest::Client
runtime to startup.RequestBuilder::headers
to properly append extra headers of the same name.Performance
getaddrinfo
with a non-blocking DNS resolver.v0.9.5
Compare Source
Features
Response::remote_addr()
method to check the address of the connection used.default-tls
crate feature, enabled by default, which allows users to disable TLS.v0.9.4
Compare Source
Features
percent_encoding_path_segment
andpercent_encoding_attr_char
configuration tomultipart::Form
.Fixes
multipart::Form
default percent encoding format topath-segment
.v0.9.3
Compare Source
Features
multipart::Part::bytes()
to create a part of raw bytes.Response
to help with testing.Fixes
v0.9.2
Compare Source
Fixes
Location
header has UTF-8 characters.v0.9.1
Compare Source
ClientBuilder::use_sys_proxy()
to enable automatic detect of HTTP proxies configured on the system.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.async::Response::text()
that returns aFuture
of the full body decoded to aString
.Clone
forCertificate
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.