Yuki Okushi
5802eb797f
awc,web: Bump up to next beta releases ( #1638 )
2020-08-18 01:08:40 +09:00
Yuki Okushi
ff2ca0f420
Update rustls to 0.18 ( #1637 )
2020-08-18 00:28:39 +09:00
Rob Ede
cf1c8abe62
prepare release http & awc ( #1617 )
2020-07-22 01:13:10 +01:00
Rob Ede
78594a72bd
prepare awc v2.0.0-beta.1 release
2020-07-14 03:16:26 +01:00
Yuki Okushi
0f826fd11a
awc: Bump up to 2.0.0-alpha.2
2020-05-21 16:47:16 +09:00
Yuki Okushi
603973dede
awc: Update base64
to 0.12
2020-05-21 09:51:58 +09:00
Rob Ede
996f1d7eae
bump msrv in ci and readme
2020-05-13 01:57:37 +01:00
Otavio Salvador
146ae4da18
Implement std::error::Error
for our custom errors
...
For allowing a more ergonomic use and better integration on the
ecosystem, this adds the `std::error::Error` `impl` for our custom
errors.
We intent to drop this hand made code once `derive_more` finishes the
addition of the Error derive support[1]. Until that is available, we
need to live with that.
1. https://github.com/JelteF/derive_more/issues/92
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-18 00:22:18 -03:00
Yuki Okushi
ce1e996b41
Update release date
2020-03-11 20:42:45 +09:00
Yuki Okushi
294523a32f
Bump up to 2.0.0-alpha.1
2020-03-08 15:27:39 +09:00
Maxim Vorobjov
10e3e72595
Http2 client configuration to improve performance ( #1394 )
...
* add defaults for http2 client configuration
* fix spaces
* Add changes text for extended H2 defaults buffers
* client: configurable H2 window sizes and max_http_version
* add H2 window size configuration and max_http_version to awc::ClientBuilder
* add awc::ClientBuilder H2 window sizes and max_http_version
* add test for H2 window size settings
* cleanup comment
* Apply code review fixes
* Code review fix for awc ClientBuilder
* Remove unnecessary comments on code review
* pin quote version to resolve build issue
* max_http_version to accept http::Version
* revert fix for quote broken build
2020-03-07 11:09:31 +09:00
Maksym Vorobiov
835a00599c
rollback missed dependencies and CHANGES in crates except actix-http
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
9d04b250f9
This is a squashed commit:
...
- Convert MessageBody to accept Pin in poll_next
- add CHANGES and increase versions aligned to semver
- update crates to accomodate MessageBody Pin change
- fix tests and dependencies
2020-02-27 09:37:05 +09:00
Nikolay Kim
a791aab418
prep awc release
2019-12-15 13:36:05 +06:00
Nikolay Kim
c1deaaeb2f
cleanup imports
2019-12-13 11:24:57 +06:00
Nikolay Kim
1729a52f8b
prepare alpha.3 release
2019-12-07 13:00:03 +06:00
Nikolay Kim
fba02fdd8c
prep awc release
2019-11-06 11:33:25 -08:00
Jonathas Conceição
f0612f7570
awc: Add support for setting query from Serialize type for client request ( #1130 )
...
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2019-10-26 08:27:14 +03:00
Sven-Hendrik Haase
3ff01a9fc4
Add changelog entry for #1101 ( #1102 )
2019-09-25 15:35:28 +06:00
Nikolay Kim
3d4e45a0e5
prepare release
2019-09-25 15:30:20 +06:00
Nikolay Kim
45d2fd4299
export frozen request related types; refactor code layout
2019-09-12 10:40:56 +06:00
Nikolay Kim
71f8577713
prepare awc release
2019-09-11 20:13:28 +06:00
Dmitry Pypin
8873e9b39e
Added FrozenClientRequest for easier retrying HTTP calls ( #1064 )
...
* Initial commit
* Added extra_headers
* Added freeze() method to ClientRequest which produces a 'read-only' copy of a request suitable for retrying the send operation
* Additional methods for FrozenClientRequest
* Fix
* Increased crates versions
* Fixed a unit test. Added one more unit test.
* Added RequestHeaderWrapper
* Small fixes
* Renamed RequestHeadWrapper->RequestHeadType
* Updated CHANGES.md files
* Small fix
* Small changes
* Removed *_extra methods from Connection trait
* Added FrozenSendBuilder
* Added FrozenSendBuilder
* Minor fix
* Replaced impl Future with concrete Future implementation
* Small renaming
* Renamed Send->SendBody
2019-09-10 10:29:32 +06:00
Eugene Bulkin
8d61fe0925
Ensure that awc::ws::WebsocketsRequest sets the Host header ( #1070 )
...
* Ensure that awc::ws::WebsocketsRequest sets the Host header before connecting.
* Make sure to check if headers already have a HOST value before setting
* Update CHANGES.md to reflect WebSocket client update.
2019-09-09 12:27:13 +06:00
Nikolay Kim
5d248cad89
prep release
2019-08-13 12:28:05 -07:00
Nikolay Kim
55179d6ab2
update dependencies
2019-08-13 10:48:11 -07:00
Nikolay Kim
cf1a60cb3a
prepare awc release
2019-08-01 15:41:14 -07:00
Marat Safin
cb19ebfe0c
add rustls support for actix-http and awc ( #998 )
...
* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt
2019-07-31 13:02:56 -07:00
Nikolay Kim
a28b7139e6
prepare awc release
2019-07-01 11:34:57 +06:00
messense
dbab55dd6b
Bump rand crate version to 0.7 ( #951 )
2019-07-01 09:37:03 +06:00
Alec Moskvin
d2eb1edac3
Actix-web client: Always append a colon after username in basic auth ( #949 )
...
* Always append a colon after username in basic auth
* Update CHANGES.md
2019-07-01 09:34:42 +06:00
Nikolay Kim
a342b1289d
prep awc release
2019-06-05 08:14:00 +06:00
Nikolay Kim
07c9eec803
prepare awc release
2019-05-12 10:04:38 -07:00
Nikolay Kim
5426413cb6
update dependencies
2019-04-24 13:00:30 -07:00
Nikolay Kim
2e19f572ee
add tests for camel case headers rendering
2019-04-24 11:27:57 -07:00
Nikolay Kim
fc9b14a933
allow to specify server address for http and ws requests
2019-04-19 18:03:44 -07:00
Nikolay Kim
cc8420377e
pass request ownership to closure instead of ref
2019-04-16 15:43:55 -07:00
Nikolay Kim
ddfd7523f7
prepare awc release
2019-04-16 10:49:38 -07:00
Nikolay Kim
d7040dc303
alpha.6 release
2019-04-14 08:09:32 -07:00
Nikolay Kim
6bc1a0c76b
Do not set default headers for websocket request
2019-04-14 07:43:53 -07:00
Nikolay Kim
1f2b15397d
prepare alpha5 release
2019-04-12 14:00:45 -07:00
Nikolay Kim
67c34a5937
Add Debug impl for BoxedSocket
2019-04-11 16:01:54 -07:00
Nikolay Kim
b1547bbbb6
do not set default headers
2019-04-08 11:09:57 -07:00
Nikolay Kim
53da55aa3c
alpha4 release
2019-04-07 23:42:05 -07:00
Nikolay Kim
442f5057dd
alpha.3 release
2019-04-02 21:49:31 -07:00
Nikolay Kim
f100976ef0
rename close_connection to force_close
2019-04-02 14:08:30 -07:00
Nikolay Kim
e282ef7925
return back consuming builder
2019-04-02 12:51:16 -07:00
Nikolay Kim
2d43489278
ClientRequest::json() accepts reference instead of object
2019-04-01 17:53:30 -07:00
Nikolay Kim
38afc93304
Use non-consuming builder pattern for ClientRequest
2019-04-01 15:19:34 -07:00
Nikolay Kim
5c4e4edda4
add ClientResponse::json()
2019-04-01 11:51:18 -07:00
Nikolay Kim
c5fa6c1abe
do not consume response
2019-04-01 11:29:50 -07:00
Nikolay Kim
6c195d8521
add Derev<Target=RequestHead> for ClientRequest
2019-04-01 10:26:25 -07:00
Nikolay Kim
e9bbde6832
allow to override request's uri
2019-03-29 16:28:28 -07:00
Nikolay Kim
744d82431d
add per request timeout
2019-03-29 14:07:37 -07:00
Nikolay Kim
058b1d56e6
Export ws sub-module with websockets related types
2019-03-29 13:49:21 -07:00
Nikolay Kim
1e7096a63a
add request timeout
2019-03-28 22:33:41 -07:00
Nikolay Kim
ea4d98d669
Session wide headers, basic and bearer auth
2019-03-28 21:48:35 -07:00
Nikolay Kim
9710e9b01f
Re-export actix_http::client::Connector
2019-03-28 14:46:33 -07:00
Nikolay Kim
9c198a0d29
alpha.1 release
2019-03-28 13:46:26 -07:00