Rob Ede
b1dfec2e87
align header map terminology
...
To prevent conflicts when migrating, this adds a new method to the
Responder trait that wraps in a CustomizeResponder instead of renaming
with_header to insert_header, like that which exists on HttpResponse.
This is overall a nicer, more explicit API.
Also alters the methods on DefaultHeaders middleware.
2021-12-13 05:10:54 +00:00
Rob Ede
b5831cc23b
inline as name impls
2021-12-13 05:08:06 +00:00
Rob Ede
172321d19d
derive deref for namedfile
2021-12-13 05:07:53 +00:00
Rob Ede
551a0d973c
doc tweaks
2021-12-13 02:58:19 +00:00
Rob Ede
cea44be670
add test for returning App from function
2021-12-11 16:18:28 +00:00
Rob Ede
b41b346c00
inline trivial body methods
2021-12-11 16:05:08 +00:00
Rob Ede
5b0a50249b
prepare actix-multipart release 0.4.0-beta.10
2021-12-11 00:35:26 +00:00
Rob Ede
60b030ff53
prepare actix-web-actors release 4.0.0-beta.8
2021-12-11 00:34:23 +00:00
Rob Ede
fc4e9ff96b
prepare actix-web-codegen release 0.5.0-beta.6
2021-12-11 00:33:31 +00:00
Rob Ede
6481a5fb73
prepare actix-test release 0.1.0-beta.8
2021-12-11 00:32:26 +00:00
Rob Ede
0cd7c17682
prepare actix-http-test release 3.0.0-beta.9
2021-12-11 00:32:00 +00:00
Rob Ede
ed2f5b40b9
prepare actix-files release 0.6.0-beta.10
2021-12-11 00:31:41 +00:00
Rob Ede
cc37be9700
prepare actix-web release 4.0.0-beta.14
2021-12-11 00:30:12 +00:00
Rob Ede
e1cdabe5cb
prepare awc release 3.0.0-beta.13
2021-12-11 00:28:38 +00:00
Rob Ede
d0f4c809ca
prepare actix-http release 3.0.0-beta.15
2021-12-11 00:22:09 +00:00
Rob Ede
65dd5dfa7b
bump script updates referenced crate versions
2021-12-11 00:21:30 +00:00
Rob Ede
f62383a975
unpin h2
2021-12-10 22:13:12 +00:00
Ali MJ Al-Nasrawy
f9348d7129
add ServiceResponse::into_parts ( #2499 )
2021-12-09 14:57:27 +00:00
Rob Ede
774ac7fec4
provide optimisation path for single-chunk body types ( #2497 )
2021-12-09 13:52:35 +00:00
Rob Ede
69fa17f66f
clean future h2 dispatcher
2021-12-09 11:27:29 +00:00
Rob Ede
816d68dee8
pin h2 temporarily
2021-12-09 00:46:28 +00:00
Rob Ede
7dc034f0fb
Remove extensions from head ( #2487 )
2021-12-08 22:58:50 +00:00
Rob Ede
07f2fe385b
standardize crate level lints
2021-12-08 06:09:56 +00:00
Rob Ede
406f694095
standardize rustfmt max_width
2021-12-08 06:01:11 +00:00
Rob Ede
e49e559f47
fix some docs
2021-12-08 05:43:50 +00:00
Rob Ede
d35b7644dc
add connection level data container ( #2491 )
2021-12-07 17:23:34 +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
fakeshadow
6460e67f84
remove generic body type in App. ( #2493 )
2021-12-07 15:53:04 +00:00
Rob Ede
9587261c20
add fakeshadow's actix-web in actix-http example
2021-12-07 15:31:15 +00:00
Rob Ede
606a371ec3
improve Data docs
2021-12-06 17:14:56 +00:00
Rob Ede
bed72d9bb7
fix examples
2021-12-05 23:23:36 +00:00
Rob Ede
c596f573a6
bump actix-server to rc.1
2021-12-05 21:25:15 +00:00
Ali MJ Al-Nasrawy
627c0dc22f
workaround rustdoc bug for Error ( #2489 )
2021-12-05 16:19:08 +00:00
Rob Ede
2d053b7036
remove `actix_http::http` module ( #2488 )
2021-12-05 14:37:20 +00:00
Ali MJ Al-Nasrawy
59be0c65c6
disallow query or fragements in `url_for` constructions ( #2430 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-05 04:39:18 +00:00
Rob Ede
e1a2d9c606
`Quality` / `QualityItem` improvements ( #2486 )
2021-12-05 03:38:08 +00:00
Rob Ede
d89c706cd6
re-instate Range typed header ( #2485 )
...
Co-authored-by: RideWindX <ridewindx@gmail.com>
2021-12-05 00:02:25 +00:00
Mohammed Sazid Al Rashid
4c9ca7196d
Add `WsResponseBuilder` to build web socket session response ( #1920 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-04 22:32:44 +00:00
Rob Ede
fa7f3e6908
undeprecate `App::data_factory` ( #2484 )
2021-12-04 19:41:15 +00:00
Rob Ede
c7c02ef99d
body ergonomics v3 ( #2468 )
2021-12-04 19:40:47 +00:00
fakeshadow
a2d5c5a058
Use cilent time out for h2 handshake timeout. ( #2483 )
2021-12-02 18:16:34 +00:00
Rob Ede
deece8d519
re-instate accept-encoding typed header ( #2482 )
2021-12-02 17:04:40 +00:00
Rob Ede
2a72bdae09
improve typed header macro ( #2481 )
2021-12-02 15:25:39 +00:00
Rob Ede
075d871e63
wrap `LanguageTags` type in new `AnyOrSome` type to support wildcards ( #2480 )
2021-12-02 13:59:25 +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
697238fadc
prepare actix-multipart release 0.4.0-beta.9
2021-12-01 00:26:07 +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
fakeshadow
fa82b698b7
remove pin-project from actix-web. ( #2471 )
2021-11-30 11:16:53 +00:00