1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00
Commit Graph

111 Commits

Author SHA1 Message Date
Rob Ede
efdf3ab1c3
clippy 2021-10-19 01:32:58 +01:00
Jake
efefa0d0ce
web: add option to not require content type header for Json (#2362)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-09-11 17:27:50 +01:00
Rob Ede
450ff5fa1d
improve extract docs (#2384) 2021-09-11 16:48:47 +01:00
Arniu Tseng
8ae278cb68
Remove FromRequest::Config (#2233)
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-09-11 01:11:16 +01:00
Rob Ede
93112644d3
non exhaustive content encoding (#2377) 2021-09-01 09:53:26 +01:00
Rob Ede
5128b1bdfc
bump msrv to 1.51 2021-08-30 23:19:03 +01:00
Rob Ede
5f412c67db
clippy 2021-08-13 18:49:58 +01:00
Rob Ede
f6e69919ed
update to router 0.5.0 beta (#2339) 2021-08-06 22:42:31 +01:00
Igor Aleksanov
262c6bc828
Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Jonas Malaco
7535a1ade8
Note that Form cannot require data ordering (#2283) 2021-06-23 16:54:25 +01:00
Rob Ede
12f7720309
deprecate App::data and App::data_factory (#2271) 2021-06-22 15:50:58 +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
peter-formlogic
fb2b362b60
Adjust JSON limit to 2MB and report on sizes (#2162)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-16 15:52:49 +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
Ibraheem Ahmed
3a0fb3f89e
Static either extract future (#2184) 2021-05-01 03:02:56 +01:00
Ibraheem Ahmed
07036b5640
static form extract future (#2181) 2021-04-22 13:54:29 +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
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
obayemi
abcb444dd9
fix routes in Path documentation (#2084) 2021-03-18 13:21:44 +00:00
Rob Ede
2d3a0d6038
json method receives plain serialize (#2052) 2021-03-07 22:11:39 +00:00
fakeshadow
c836de44af
add client middleware (#2013) 2021-02-28 18:17:08 +00:00
Adam Chalmers
2dbdf61c37
Inner field of web::Query is public again (#2016) (#2017)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-02-20 17:59:09 +00:00
Richard Janis Goldschmidt
3b93c62e23
Fix Json extractor to be 32kB by default (#2010) 2021-02-18 15:20:20 +00:00
Rob Ede
31d9ed81c5
change rustfmt line width to 96 2021-02-11 23:03:17 +00:00
Rob Ede
a290e58982
prepare beta 2 release set (#1975) 2021-02-10 12:10:03 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. (#1905) 2021-02-07 01:00:40 +00:00
fakeshadow
51e54dac8b
fix limit not working on HttpMessageBody::limit (#1938) 2021-01-27 10:49:57 +00:00
Jonas Platte
c201c15f8c
Improve documentation for PayloadConfig (#1923) 2021-01-24 00:32:10 +00:00
Rob Ede
0a506bf2e9
cleanup top level doc comments 2021-01-15 05:38:50 +00:00
Rob Ede
b1dd8d28bc
response header rework (#1869) 2021-01-15 02:11:10 +00:00
Rob Ede
6575ee93f2
big clean up and docs improvmenet of types mod (#1894) 2021-01-09 13:17:19 +00:00
fakeshadow
d40ae8c8ca
use sync method on Responder trait (#1891) 2021-01-08 22:17:19 +00:00
Rob Ede
d3c476b8c2
use env_logger builders in examples 2021-01-07 02:41:05 +00:00
Rob Ede
dc23559f23
address clippy lints 2021-01-07 02:04:26 +00:00
Rob Ede
2d4a174420
fmt 2021-01-04 01:01:35 +00:00
Rob Ede
21f6c9d7a5
improve code readability 2021-01-04 00:49:02 +00:00
fakeshadow
32de9f8840
Tokio 1.0 (#1813)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
fakeshadow
87655b3028
reduce one clone on Arc. (#1850) 2020-12-23 23:58:25 +00:00
fakeshadow
2a5215c1d6
Remove boxed future from HttpMessage (#1834) 2020-12-17 11:40:49 +00:00
fakeshadow
97f615c245
remove boxed futures on Json extract type (#1832) 2020-12-16 23:34:33 +00:00
Rob Ede
1a361273e7
optimize bytes and string payload extractors (#1831) 2020-12-16 22:40:26 +00:00
Aravinth Manivannan
fabc68659b
Intradoc links conversion (#1827)
* switching to nightly for intra-doc links

* actix-files intra-doc conversion

* more specific Result

* intradoc conversion complete

* rm blank comments and readme doc link fixes

* macros and broken links
2020-12-13 13:28:39 +00:00
Rob Ede
ae63eb8bb2
fix clippy warnings (#1806)
* fix clippy warnings

* prevent CI fail status caused by codecov
2020-12-09 11:22:19 +00:00
Rob Ede
4100c50c70
add either extractor (#1788) 2020-11-20 18:02:41 +00:00
Pouya Mobasher Behrouz
9b42333fac
Fix typo in Query extractor docs (#1777) 2020-11-06 13:34:42 +00:00