Commit Graph

3661 Commits

Author SHA1 Message Date
LukeMathWalker d1d4aeadf4 If HttpResponse is already wrapping an `actix_web::Error`, return the underlying `actix_web::Error` instead of generating a dummy 500. 2021-05-02 22:53:54 +01:00
Ibraheem Ahmed 3a0fb3f89e
Static either extract future (#2184) 2021-05-01 03:02:56 +01:00
Voldracarno Draconor 1fcf92e11f
Update dependency "language-tags" (#2188) 2021-04-28 01:23:12 +01:00
Rob Ede 6a29a50f25
files doc wording 2021-04-22 18:37:45 +01:00
Rob Ede 75867bd073
clean up files service docs and rename method
follow on from #2046
2021-04-22 18:31:21 +01:00
tglman f44a0bc159
add support of filtering guards in Files of actix-files (#2046)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-22 18:13:13 +01:00
Ibraheem Ahmed 07036b5640
static form extract future (#2181) 2021-04-22 13:54:29 +01:00
Rob Ede a7cd4e85cf
use stable codec 0.4.0 2021-04-21 11:14:22 +01:00
Ibraheem Ahmed 6a9c4f1026
update awc docs link, formatting (#2180) 2021-04-20 19:57:27 +01:00
Rob Ede 427fe6bd82
improve responseerror trait docs 2021-04-19 23:16:04 +01:00
fakeshadow 2aa674c1fd
Fix perf drop in HttpResponseBuilder (#2174) 2021-04-19 23:15:57 +01:00
Rob Ede 52bb2b5daf
hide downcast macros 2021-04-19 03:42:53 +01:00
Rob Ede db97974dc1
make some http re-exports more accessible (#2171) 2021-04-19 03:29:38 +01:00
Rob Ede b9dbc58e20
content disposition methods take impl AsRef<str> 2021-04-19 02:31:11 +01:00
Rob Ede 35f8188410
restore cookie methods on ServiceRequest 2021-04-19 02:24:20 +01:00
Rob Ede 8ffb1f2011
update files changelog 2021-04-19 02:11:07 +01:00
Ibraheem Ahmed 26e9c80626
Named file service (#2135) 2021-04-18 23:34:51 +01:00
Rob Ede f462aaa7b6
prepare actix-test release 0.1.0-beta.2 2021-04-17 15:53:54 +01:00
Rob Ede 5a162932f3
prepare awc release 3.0.0-beta.5 2021-04-17 15:30:31 +01:00
Rob Ede b2d6b6a70c
prepare web release 4.0.0-beta.6 2021-04-17 15:28:13 +01:00
Rob Ede f743e885a3
prepare http release 3.0.0-beta.6 2021-04-17 15:24:18 +01:00
Rob Ede 5747f84736
bump utils to stable v3 2021-04-17 02:07:33 +01:00
Rob Ede 879a4cbcd8
re-export ready boilerplate macros in dev 2021-04-16 23:21:02 +01:00
Rob Ede 2449f2555c
missed one pipeline_factory 2021-04-16 20:48:37 +01:00
Rob Ede d8f56eee3e
bump service to stable v2 2021-04-16 20:28:21 +01:00
Rob Ede 8d88a0a9af
rename header generator macros 2021-04-16 19:15:10 +01:00
fakeshadow 845c02cb86
Add responder impl for Cow<str> (#2164) 2021-04-16 00:54:51 +01:00
D.Loh 64bed506c2
chore: update benchmaks to round 20 (#2163) 2021-04-15 19:11:30 +01:00
Rob Ede ff65f1d006
non exhaustive http errors (#2161) 2021-04-14 06:07:59 +01:00
fakeshadow a9f26286f9
reduce branches in h1 dispatcher poll_keepalive (#2089) 2021-04-14 05:20:45 +01:00
Rob Ede 037ac80a32
document messagebody trait items 2021-04-14 03:23:15 +01:00
Rob Ede 1bfdfd1f41
implement parts as assoc method 2021-04-14 02:57:28 +01:00
Rob Ede 5202bf03c1
add some doc examples to response builder 2021-04-14 02:45:58 +01:00
Rob Ede 387c229f28
move response builder code to own file 2021-04-14 02:12:47 +01:00
Rob Ede 23e0c9b6e0
remove http-codes builders from actix-http (#2159) 2021-04-14 02:00:14 +01:00
Rob Ede 02ced426fd
add body to_bytes helper (#2158) 2021-04-13 13:34:22 +01:00
Rob Ede 4442535a45
clippy 2021-04-13 12:44:38 +01:00
Rob Ede edd9f14752
remove unpin from body types (#2152) 2021-04-13 11:16:12 +01:00
Ali MJ Al-Nasrawy ce50cc9523
files: Don't use canonical path when serving file (#2156) 2021-04-13 05:28:30 +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
Ibraheem Ahmed c72d77065d
derive debug where possible (#2142) 2021-04-09 03:22:51 +01:00
Ibraheem Ahmed 44a2d2214c
update year in MIT license (#2143) 2021-04-09 01:28:35 +01:00
Ibraheem Ahmed 3f5a73793a
make module/crate re-exports doc inline (#2141) 2021-04-08 20:51:16 +01:00
Rob Ede e0b2246c68
prepare test release 0.1.0-beta.1 2021-04-02 10:03:01 +01:00
Rob Ede e0ae8e59bf
prepare actors release 4.0.0-beta.4 2021-04-02 09:55:35 +01:00
Rob Ede a9641e475a
prepare http-test release 3.0.0-beta.4 2021-04-02 09:54:35 +01:00
Rob Ede 05c7505563
prepare multipart release 0.4.0-beta.4 2021-04-02 09:45:31 +01:00
Rob Ede 8561263545
prepare files release 0.6.0-beta.4 2021-04-02 09:43:51 +01:00
Rob Ede a32151525c
prepare awc release 3.0.0-beta.4 2021-04-02 09:40:36 +01:00