Rob Ede
bcbbc115aa
fix awc changelog
2021-11-23 15:12:55 +00:00
Rob Ede
99e6a9c26d
prepare awc release 3.0.0-beta.11
2021-11-22 18:41:43 +00:00
Rob Ede
e8a0e16863
run tarpaulin on workspace
2021-11-15 18:11:51 +00:00
Rob Ede
a2f59c02f7
bump actix-server to beta 9 ( #2442 )
2021-11-15 04:03:33 +00:00
Rob Ede
9abe166d52
actix-web beta 10 releases ( #2417 )
2021-10-20 22:32:05 +01:00
Rob Ede
4f6f0b0137
chore: Bump rustls to 0.20.0 ( #2416 )
...
Co-authored-by: Kirill Mironov <vetrokm@gmail.com>
2021-10-20 02:00:11 +01:00
Rob Ede
ba88d3b4bf
prepare actix-web beta.9 releases ( #2381 )
...
* prepare actix-router release 0.5.0-beta.2
* prepare actix-web-codegen release 0.5.0-beta.4
* prepare actix-http release 3.0.0-beta.10
* prepare awc release 3.0.0-beta.8
* prepare actix-web release 4.0.0-beta.9
* prepare actix-http-test release 3.0.0-beta.6
* prepare actix-test release 0.1.0-beta.4
* prepare actix-files release 0.6.0-beta.7
* prepare actix-multipart release 0.4.0-beta.6
* prepare actix-web-actors release 4.0.0-beta.7
* fix http test version
* re-add patch
* update router repo url
* fix http test readme version
2021-09-09 01:35:41 +01:00
Omid Rad
53ec66caf4
Send headers within the redirect requests. ( #2310 )
2021-09-01 20:16:41 +01:00
Rob Ede
604be5495f
prepare beta.8 releases ( #2292 )
2021-06-26 16:33:36 +01:00
Rob Ede
73a655544e
tweak compress feature docs
2021-06-19 20:23:06 +01:00
Arthur Le Moigne
baa5a663c4
Select compression algorithm using features flags ( #2250 )
...
Add compress-* feature flags in actix-http / actix-web / awc.
This allow enable / disable not wanted compression algorithm.
2021-06-19 20:21:13 +01:00
Rob Ede
c260fb1c48
beta.7 releases ( #2266 )
2021-06-19 11:51:20 +01:00
Rob Ede
f462aaa7b6
prepare actix-test release 0.1.0-beta.2
2021-04-17 15:53:54 +01:00
Rob Ede
981c54432c
remove json and url encoded form support from -http ( #2148 )
2021-04-12 10:30:28 +01:00
Rob Ede
a32151525c
prepare awc release 3.0.0-beta.4
2021-04-02 09:40:36 +01:00
Ibraheem Ahmed
50dc13f280
move typed headers and implement FromRequest ( #2094 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-01 16:42:18 +01:00
fakeshadow
1f1be6fd3d
add Client::headers ( #2114 )
2021-03-31 11:43:56 +01:00
fakeshadow
8c2ce2dedb
fix awc compress feature ( #2116 )
2021-03-25 22:47:37 +00:00
fakeshadow
b75b5114c3
refactor actix_http connection types and connector services ( #2081 )
2021-03-18 17:53:22 +00:00
Rob Ede
23b0e64199
prepare awc release 3.0.0-beta.3
2021-03-08 23:15:53 +00:00
fakeshadow
5b4105e1e6
Refactor/client builder ( #2053 )
2021-03-07 23:57:32 +00:00
Rob Ede
ca69b6577e
use iota for more content-length insertions ( #2050 )
2021-03-07 19:29:02 +00:00
fakeshadow
badae2f8fd
add local_address bind for client builder ( #2024 )
2021-02-27 22:31:14 +00:00
fakeshadow
946cccaa1a
refactor awc::ClientBuilder ( #2008 )
2021-02-18 12:30:09 +00:00
fakeshadow
5efea652e3
add ClientResponse::timeout ( #1931 )
2021-02-17 11:55:11 +00:00
Rob Ede
3279070f9f
optional cookies features ( #1981 )
2021-02-13 15:08:43 +00:00
Rob Ede
a290e58982
prepare beta 2 release set ( #1975 )
2021-02-10 12:10:03 +00:00
fakeshadow
519d7f2b8a
add trust-dns optional feature for actix-http and awc ( #1969 )
2021-02-09 10:41:20 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. ( #1905 )
2021-02-07 01:00:40 +00:00
Rob Ede
b1dd8d28bc
response header rework ( #1869 )
2021-01-15 02:11:10 +00:00
Rob Ede
c09186a2c0
prepare v4 beta releases ( #1881 )
2021-01-07 20:02:08 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Rob Ede
a1b00b2cd0
change unreleased year
2021-01-02 00:12:18 +00:00
Logan Magee
4dccd092f3
Bump rand from 0.7.x to 0.8.x ( #1845 )
2020-12-22 23:45:31 +00:00
Rob Ede
24d525d978
prepare web 3.3.2 release
2020-12-01 22:22:46 +00:00
Rob Ede
ea8bf36104
update web and awc changelogs
2020-11-29 16:35:35 +00:00
Rob Ede
efc317d3b0
prepare actix-http and awc releases
2020-11-25 00:07:56 +00:00
Yuki Okushi
4bfd5c2781
Upgrade serde_urlencoded
to 0.7
( #1773 )
2020-11-06 01:36:15 +09:00
Rob Ede
42f51eb962
prepare web release 3.2.0
2020-10-30 03:15:22 +00:00
Rob Ede
156c97cef2
prepare awc release 2.0.1
2020-10-30 02:50:53 +00:00
Rob Ede
4cb833616a
deprecate builder if-x methods ( #1760 )
2020-10-30 02:10:05 +00:00
Jonas
06e5042b94
use idenity encoding on client if no compression features are enabled ( #1737 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-10-24 21:15:01 +01:00
ghizzo01
f92742bdac
Bump base64 to 0.13 ( #1744 )
2020-10-19 18:24:22 +01:00
Rob Ede
64a2c13cdf
the big three point oh ( #1668 )
2020-09-11 13:50:10 +01:00
Igor Aleksanov
121075c1ef
awc: Rename Client::build to Client::builder ( #1665 )
2020-09-11 09:24:39 +01:00
Rob Ede
059d1671d7
prepare release beta 4 ( #1659 )
2020-09-09 22:14:11 +01:00
Rob Ede
8497b5f490
integrate with updated actix-{codec, utils} ( #1634 )
2020-08-24 10:13:35 +01:00
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