- Deprecated methods on
ClientRequest
:if_true
,if_some
. #2148
- Add
Client::headers
to get default mut reference ofHeaderMap
of client object. #2114
ConnectorService
type is renamed toBoxConnectorService
. #2081- Fix http/https encoding when enabling
compress
feature. #2116 - Rename
TestResponse::header
toappend_header
,set
toinsert_header
.TestResponse
header methods now takeIntoHeaderPair
tuples. #2094
ClientResponse::timeout
for set the timeout of collecting response body. #1931ClientBuilder::local_address
for bind to a local ip address for this client. #2024
- Feature
cookies
is now optional and enabled by default. #1981 ClientBuilder::connector
method would takeactix_http::client::Connector<T, U>
type. #2008- Basic auth password now takes blank passwords as an empty string instead of Option. #2050
ClientBuilder::default
function #2008
ClientRequest::insert_header
method which allows using typed headers. #1869ClientRequest::append_header
method which allows using typed headers. #1869trust-dns
optional feature to enabletrust-dns-resolver
as client dns resolver. #1969
- Relax default timeout for
Connector
to 5 seconds(original 1 second). #1905
ClientRequest::set
; useClientRequest::insert_header
. #1869ClientRequest::set_header
; useClientRequest::insert_header
. #1869ClientRequest::set_header_if_none
; useClientRequest::insert_header_if_none
. #1869ClientRequest::header
; useClientRequest::append_header
. #1869
- Ensure
actix-http
dependency uses sameserde_urlencoded
.
- Upgrade
serde_urlencoded
to0.7
. #1773
- Use
Accept-Encoding: identity
instead ofAccept-Encoding: br
when no compression feature is enabled #1737
Client::build
was renamed toClient::builder
.
- Update actix-codec & actix-tls dependencies.
- Update
rustls
to 0.18
- Update
actix-http
dependency to 2.0.0-beta.2
- Update
actix-http
dependency to 2.0.0-beta.1
- Implement
std::error::Error
for our custom errors #1422 - Bump minimum supported Rust version to 1.40
- Update
base64
dependency to 0.12
- Update
actix-http
dependency to 2.0.0-alpha.2 - Update
rustls
dependency to 0.17 - ClientBuilder accepts initial_window_size and initial_connection_window_size HTTP2 configuration
- ClientBuilder allowing to set max_http_version to limit HTTP version to be used
- Fix compilation with default features off
- Release
- Migrate to
std::future
- Add support for setting query from Serialize type for client request.
- Remaining getter methods for
ClientRequest
's privatehead
field #1101
- Export frozen request related types.
- Add
FrozenClientRequest
to support retries for sending HTTP requests
- Ensure that the
Host
header is set when initiating a WebSocket client connection.
-
Update percent-encoding to "2.1"
-
Update serde_urlencoded to "0.6.1"
- Add
rustls
support
-
Always append a colon after username in basic auth
-
Upgrade
rand
dependency version to 0.7
- Add license files
- Allow to send headers in
Camel-Case
form.
- Upgrade actix-http dependency.
- Allow to specify server address for http and ws requests.
ClientRequest::if_true()
andClientRequest::if_some()
use instance instead of ref
- No changes
- Do not set default headers for websocket request
- Do not set any default headers
- Add Debug impl for BoxedSocket
- Update actix-http dependency
-
Export
MessageBody
type -
ClientResponse::json()
- Loads and parseapplication/json
encoded body
-
ClientRequest::json()
accepts reference instead of object. -
ClientResponse::body()
does not consume response object. -
Renamed
ClientRequest::close_connection()
toClientRequest::force_close()
-
Per request and session wide request timeout.
-
Session wide headers.
-
Session wide basic and bearer auth.
-
Re-export
actix_http::client::Connector
.
-
Allow to override request's uri
-
Export
ws
sub-module with websockets related types
- Initial impl