1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-02-07 13:54:24 +01:00

297 Commits

Author SHA1 Message Date
Rob Ede
d7c5c966d2
remove impl Future for HttpResponse (#2601) 2022-01-24 11:56:01 +00:00
Rob Ede
cb7347216c
add Logger::log_target (#2594) 2022-01-21 17:19:17 +00:00
Rob Ede
bc89f0bfc2
s/example/examples 2022-01-21 16:56:33 +00:00
Rob Ede
68ad81f989
remove debug logs 2022-01-20 01:30:33 +00:00
Ali MJ Al-Nasrawy
c3ce33df05
unify generics across App, Scope and Resource (#2572)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-05 15:02:28 +00:00
Rob Ede
0bc4ae9158
remove BodyEncoding trait (#2565) 2022-01-03 18:46:04 +00:00
Rob Ede
19a46e3925
fix doc test 2022-01-03 15:35:47 +00:00
Rob Ede
68cd853aa2
improve docs for Compress 2022-01-03 14:59:01 +00:00
Rob Ede
25fe1bbaa5
add double compress layer test 2022-01-03 14:05:08 +00:00
Rob Ede
e890307091
Fix AcceptEncoding header (#2501) 2022-01-03 13:17:57 +00:00
Rob Ede
2b2de29800
never return port in realip_remote_addr (#2554) 2021-12-28 14:52:43 +00:00
Rob Ede
4616ca8ee6
rework Guard trait (#2552) 2021-12-28 02:37:13 +00:00
Rob Ede
2308f8afa4
use const header values where possible 2021-12-27 16:15:33 +00:00
Rob Ede
2e493cf791
remove crate level clippy allows 2021-12-25 04:53:51 +00:00
Mark Lodato
34e5c7c799
Improve module docs for error handler middleware (#2543) 2021-12-25 02:35:19 +00:00
Ali MJ Al-Nasrawy
7b1512d863
allow any body type in Scope (#2523) 2021-12-22 15:48:59 +00:00
Rob Ede
cd025f5c0b
allow any body type in Resource (#2526) 2021-12-22 15:00:32 +00:00
Rob Ede
a2467718ac
passthrough StreamLog error type 2021-12-17 01:27:27 +00:00
Rob Ede
156cc20ac8
refactor testing utils (#2518) 2021-12-15 01:44:51 +00:00
Rob Ede
dd4a372613
allow error handler middleware to return different body type (#2515) 2021-12-14 21:17:50 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
fakeshadow
069cf2da07
enable scope middleware with generic res body. (#2492)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-07 16:26:28 +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
fakeshadow
fa82b698b7
remove pin-project from actix-web. (#2471) 2021-11-30 11:16:53 +00:00
fakeshadow
dd347e0bd0
implement io-uring for actix-files (#2408)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-11-22 01:19:09 +00:00
Rob Ede
d8cbb879dd
make AnyBody generic on Body type (#2448) 2021-11-16 21:41:35 +00:00
Rob Ede
2754608f3c
fix codegen tests 2021-11-08 02:46:43 +00:00
Ibraheem Ahmed
c020cedb63
Log internal server errors (#2387) 2021-11-07 17:02:23 +00:00
Rob Ede
efdf3ab1c3
clippy 2021-10-19 01:32:58 +01:00
Rob Ede
46699e3429
remove time dep from actix-http (#2383) 2021-09-11 00:01:01 +01:00
Arthur Le Moigne
ddc8c16cb3
Fix quality parse error in Accept-Encoding HTTP header (#2344) 2021-09-01 09:08:29 +01:00
Rob Ede
c50eef6166
"deprecate" calls to NormalizePath::default 2021-08-31 04:19:02 +01:00
Rob Ede
dade818eba
add middleware composition tests (#2375) 2021-08-31 04:18:54 +01:00
Rob Ede
ae35e69382
use rust 1.51 features 2021-08-31 02:52:29 +01:00
Rob Ede
5f412c67db
clippy 2021-08-13 18:49:58 +01:00
Igor Aleksanov
262c6bc828
Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +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
Thales
b1e841f168
Don't normalize URIs with no valid path (#2246) 2021-06-05 17:19:45 +01:00
James Wright
136dac1352
Additional test coverage and tidyup (middleware::normalize) (#2243) 2021-06-03 03:28:09 +01:00
Rob Ede
900c9e270e
remove responsebody indirection from response (#2201) 2021-05-09 20:12:48 +01:00
Rob Ede
ddaf8c3e43
add associated error type to MessageBody (#2183) 2021-05-05 18:36:02 +01:00
Rob Ede
879a4cbcd8
re-export ready boilerplate macros in dev 2021-04-16 23:21:02 +01:00
Rob Ede
4442535a45
clippy 2021-04-13 12:44:38 +01:00
Rob Ede
c54a0713de
migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
Rob Ede
c8ed8dd1a4
migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
Rob Ede
3188ef5731
don't use rust annotation on code doc blocks 2021-03-25 08:45:52 +00:00
fakeshadow
351286486c
fix clippy warning on nightly (#2088)
* fix clippy warning on nightly
2021-03-19 19:25:35 +08:00
Ilya Averyanov
22dcc31193
Fix logger middleware properly escape %% (#2067) 2021-03-11 14:12:42 +00:00