1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 03:21:08 +00:00
Commit graph

51 commits

Author SHA1 Message Date
dependabot[bot]
8c31d137aa
build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 (#3294)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-02-19 12:31:10 +00:00
Rob Ede
146011018e
add payload to_bytes helpers (#3083) 2023-07-22 02:02:29 +01:00
Rob Ede
79a38e0628
apply standard formatting 2023-07-17 02:38:12 +01:00
Rob Ede
241da6e081
update MSRV to 1.65 (#3059) 2023-07-02 01:09:15 +01:00
Rob Ede
1072d0dacf
address lints 2023-06-09 15:15:09 +01:00
Rob Ede
0e7380659f
implement Error for BodyLimitExceeded 2023-03-13 13:40:09 +00:00
Rob Ede
44c5cdaa10
bound initial allocation in to_bytes_limited 2023-03-13 13:40:07 +00:00
Rob Ede
9e7a6fe57b
add body::to_bytes_limited (#3000
* add body::to_body_limit

* rename to_bytes_limited
2023-03-13 13:31:48 +00:00
Nikolai Vazquez
cfd40b4f15
Implement MessageBody for Cow<'static, {[u8], str}> (#2959) 2023-01-06 21:56:16 +00:00
Rob Ede
6f0a6bd1bb
address clippy lints
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
Rob Ede
cc7145d41d
rust 1.64 clippy run (#2891) 2022-09-25 20:54:17 +01:00
Rob Ede
c73fba16ce
implement MessageBody for mut B (#2868) 2022-09-14 11:23:22 +01:00
Rob Ede
f7d7d92984
address clippy lints 2022-06-27 03:12:36 +01:00
Rob Ede
1b706b3069
update body type migration guide 2022-02-09 16:12:39 +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
008753f07a
improve body docs 2022-01-23 03:57:08 +00:00
Rob Ede
5842a3279d
update messagebody documentation 2021-12-17 19:35:08 +00:00
Rob Ede
1d6f5ba6d6
improve codegen on BoxBody poll_next 2021-12-17 19:19:21 +00:00
Rob Ede
aa31086af5
improve BoxBody Debug impl 2021-12-17 19:16:42 +00:00
Ali MJ Al-Nasrawy
57ea322ce5
simplify MessageBody::complete_body interface (#2522) 2021-12-17 19:09:08 +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
44b7302845
minimize futures-util dep in actix-http 2021-12-16 22:26:45 +00:00
Ali MJ Al-Nasrawy
a6d5776481
various fixes to MessageBody::complete_body (#2519) 2021-12-16 22:25:10 +00:00
Rob Ede
b41b346c00
inline trivial body methods 2021-12-11 16:05:08 +00:00
Rob Ede
774ac7fec4
provide optimisation path for single-chunk body types (#2497) 2021-12-09 13:52:35 +00:00
Rob Ede
406f694095
standardize rustfmt max_width 2021-12-08 06:01:11 +00:00
Rob Ede
c7c02ef99d
body ergonomics v3 (#2468) 2021-12-04 19:40:47 +00:00
Rob Ede
a172f5968d
prepare for actix-tls v3 beta 9 (#2456) 2021-11-22 15:37:23 +00:00
Rob Ede
a2a42ec152
use anybody in doc test 2021-11-22 01:35:33 +00:00
Rob Ede
194a691537
files: 304 Not Modified responses omit Content-Length header (#2453) 2021-11-19 14:04:12 +00:00
fakeshadow
168a7284d3
fix actix_http::Error conversion. (#2449) 2021-11-17 13:13:05 +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
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
5128b1bdfc
bump msrv to 1.51 2021-08-30 23:19:03 +01:00
Rob Ede
532f7b9923
refined error model (#2253) 2021-06-17 17:57:58 +01:00
Rob Ede
2a8c650f2c
move internalerror to actix web (#2215) 2021-05-14 16:40:00 +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
fakeshadow
845c02cb86
Add responder impl for Cow<str> (#2164) 2021-04-16 00:54:51 +01:00
Rob Ede
037ac80a32
document messagebody trait items 2021-04-14 03:23:15 +01:00
Rob Ede
387c229f28
move response builder code to own file 2021-04-14 02:12:47 +01:00
Rob Ede
02ced426fd
add body to_bytes helper (#2158) 2021-04-13 13:34:22 +01:00
Rob Ede
edd9f14752
remove unpin from body types (#2152) 2021-04-13 11:16:12 +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
c8ed8dd1a4
migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
Rob Ede
17b3e7e225
pool doc nits (#1999) 2021-02-16 09:08:30 +00:00