1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00
Commit Graph

179 Commits

Author SHA1 Message Date
liushuyu
c9f91796df
awc: correctly handle redirections that begins with // (#2840) 2022-08-25 03:12:58 +01:00
cui fliter
6a5b370206
fix some typos (#2744)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-24 22:01:20 +00:00
Rob Ede
8ddb24b49b
prepare awc release 3.0.0 (#2684) 2022-03-08 16:51:40 +00:00
Rob Ede
8c2fad3164
align hello-world examples 2022-03-05 23:15:33 +00:00
Rob Ede
218e34ee17
fix http error debug impl 2022-02-22 07:07:12 +00:00
Rob Ede
ff4b2d251f
fix impl assertions 2022-02-08 14:32:57 +00:00
Rob Ede
98faa61afe
fix impl assertions 2022-02-08 13:37:01 +00:00
Rob Ede
3d621677a5
clippy 2022-02-08 08:00:47 +00:00
Rob Ede
3200de3f34
fix request head timeout (#2611) 2022-01-31 17:30:34 +00:00
Rob Ede
50894e392e
document new body map types 2022-01-23 23:26:35 +00:00
Rob Ede
bc89f0bfc2
s/example/examples 2022-01-21 16:56:33 +00:00
Rob Ede
1bc1538118
use tokio::main in client example 2022-01-19 21:36:14 +00:00
Rob Ede
ad159f5219
fix ClientResponse::body doc
fixes #2589
2022-01-19 15:52:16 +00:00
Rob Ede
2ffc21dd4f
move response extensions out of head (#2585) 2022-01-19 02:09:25 +00:00
Rob Ede
96a4dc9dec
use modern signatures for awc send_* and header methods (#2553) 2021-12-28 03:22:22 +00:00
Rob Ede
2308f8afa4
use const header values where possible 2021-12-27 16:15:33 +00:00
Rob Ede
01cbfc5724
reduce -http re-exports in awc 2021-12-25 02:34:35 +00:00
Rob Ede
3756dfc2ce
move client to own module 2021-12-25 02:34:31 +00:00
Rob Ede
d2590fd46c
ClientRequest::send_body takes impl MessageBody (#2546) 2021-12-25 02:33:37 +00:00
Rob Ede
1296e07c48
relax unpin bounds on payload types (#2545) 2021-12-24 17:47:47 +00:00
Rob Ede
fb036264cc
only build SslConnectorBuilder once (#2503) 2021-12-18 16:44:30 +00:00
Ali MJ Al-Nasrawy
3c0d059d92
MessageBody::boxed (#2520)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-17 00:43:40 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
Rob Ede
07f2fe385b
standardize crate level lints 2021-12-08 06:09:56 +00:00
Rob Ede
2d053b7036
remove actix_http::http module (#2488) 2021-12-05 14:37:20 +00:00
Rob Ede
c7c02ef99d
body ergonomics v3 (#2468) 2021-12-04 19:40:47 +00:00
Rob Ede
c4b20df56a
convert all remaining IETF RFC links to new format 2021-12-02 03:45:04 +00:00
Rob Ede
0df275c478
update all IETF RFC links to new URL format 2021-12-01 19:42:02 +00:00
Rob Ede
e045418038
prepare for actix-tls rc.1 (#2474) 2021-11-30 14:12:04 +00:00
Rob Ede
a978b417f3
use actix ready future in remaining return types 2021-11-30 13:11:41 +00:00
Rob Ede
bcbbc115aa
fix awc changelog 2021-11-23 15:12:55 +00:00
fakeshadow
e7987e7429
awc: support http2 over plain tcp with feature flag (#2439)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-11-22 18:16:56 +00:00
Rob Ede
668a33c793
remove internal usage of Body 2021-11-16 22:10:30 +00:00
Rob Ede
d8cbb879dd
make AnyBody generic on Body type (#2448) 2021-11-16 21:41:35 +00:00
Rob Ede
4df1cd78b7
simplify AnyBody and BodySize (#2446) 2021-11-16 09:21:10 +00:00
Rob Ede
a2f59c02f7
bump actix-server to beta 9 (#2442) 2021-11-15 04:03:33 +00:00
fakeshadow
5e554dca35
fix awc clippy warning (#2431) 2021-11-04 15:57:55 +00:00
fakeshadow
d13854505f
move actix_http::client module to awc (#2425) 2021-10-26 00:37:40 +01:00
Omid Rad
53ec66caf4
Send headers within the redirect requests. (#2310) 2021-09-01 20:16:41 +01:00
Igor Aleksanov
262c6bc828
Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Rob Ede
93aa86e30b
clippy 2021-06-24 15:11:01 +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
532f7b9923
refined error model (#2253) 2021-06-17 17:57:58 +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
44c55dd036
remove cookie support from -http (#2065) 2021-04-09 18:07:10 +01:00
Rob Ede
c54a0713de
migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +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
Rob Ede
c8ed8dd1a4
migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
fakeshadow
1f1be6fd3d
add Client::headers (#2114) 2021-03-31 11:43:56 +01:00