Igor Aleksanov
f81ae37677
Add From<Payload> for crate::dev::Payload ( #1110 )
...
* Add From<Payload> for crate::dev::Payload
* Make dev::Payload field of Payload public and add into_inner method
* Add changelog entry
2019-10-01 14:05:38 +06:00
Jos van den Oever
32a1c36597
Make UrlencodedError::Overflow more informative ( #1089 )
2019-09-17 06:58:04 +06:00
Yuki Okushi
23d768a77b
Add explicit dyn
s ( #1041 )
...
* Add explicit `dyn`s
* Remove unnecessary lines
2019-08-17 02:45:44 +09:00
jesskfulwood
8f48ed2597
impl Responder for Form
2019-07-20 14:46:46 +01:00
jesskfullwood
f8320fedd8
add note about Query decoding ( #992 )
2019-07-19 17:37:49 +06:00
jesskfullwood
c808364c07
make Query payload public ( #991 )
2019-07-19 15:47:44 +06:00
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Ravi Shankar
32718b7e31
Expose factory traits and some clippy fixes ( #983 )
2019-07-17 12:58:42 +06:00
Nikolay Kim
7b1dcaffda
cleanup deprecation warning for Box<dyn>
2019-07-17 11:44:39 +06:00
Michael Snoyman
0d8a4304a9
Drop a duplicated word ( #958 )
2019-07-05 20:46:55 +06:00
messense
44bb79cd07
Call req.path() on Json extractor error only ( #945 )
...
* Call req.path() on Json extractor error only
* Cleanup len parse code
2019-06-28 10:44:53 +06:00
messense
313ac48765
Use encoding_rs crate instead of unmaintained encoding crate ( #922 )
...
* Use encoding_rs crate instead of unmaintained encoding crate
* Update changelog
2019-06-18 12:43:25 +06:00
Nikolay Kim
c8118e8411
fix path doc tests
2019-06-12 20:12:15 +06:00
Nikolay Kim
e7ba67e1a8
rename PathPayloadError and test for path config
2019-06-12 17:02:45 +06:00
Lucas Berezy
13e618b128
Added initial support for PathConfig, allows setting custom error handler. ( #903 )
2019-06-12 16:49:56 +06:00
Nikolay Kim
7450ae37a7
Re-apply patch from #637 #894
2019-06-12 16:45:05 +06:00
Miles Granger
4b215e0839
Support Query<T>::from_query() ( #846 )
2019-05-17 13:10:46 -07:00
Nikolay Kim
e1ff3bf8fa
fix resource match with params #841
2019-05-15 10:31:40 -07:00
Davide Di Carlo
bba90d7f22
Query config ( #839 )
...
* add QueryConfig
* expose QueryConfig in web module
* fmt
* use associated type for QueryConfig
* update CHANGES.md
2019-05-14 13:54:30 -07:00
Davide Di Carlo
6c3d8b8738
Make JsonConfig send ( #830 )
...
* replace Rc with Arc
* add Send trait requirement for Fn in JsonConfig error handler
* add Sync trait requirement for Fn in JsonConfig error handler
* use associated type inside JsonConfig
* fix lint: members in the impl has the same order in the trait
* Update CHANGES.md
2019-05-12 20:04:08 -07:00
Nikolay Kim
fa78da8156
unify route and app data, it allows to provide global extractor config #775
2019-05-04 19:43:49 -07:00
Nikolay Kim
e659e09e29
update tests
2019-04-18 11:01:04 -07:00
Nikolay Kim
ee33f52736
make extractor config type explicit
2019-04-13 16:35:25 -07:00
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
52aebb3bca
fmt
2019-04-10 15:05:03 -07:00
Darin
6ab9838977
added some error logging for extractors: Data, Json, Query, and Path ( #765 )
...
* added some error logging for extractors
* changed log::error to log::debug and fixed position of log for path
* added request path to debug logs
2019-04-10 12:45:13 -07:00
Nikolay Kim
9d82d4dfb9
Fix body propagation in Response::from_error. #760
2019-04-10 12:43:31 -07:00
Nikolay Kim
75b213a6f0
refactor FromRequest trait
2019-04-07 14:43:07 -07:00
Nikolay Kim
748289f0ff
use custom headers map; more optimizations
2019-04-06 15:02:02 -07:00
Nikolay Kim
e738361e09
move multipart support to separate crate
2019-04-03 12:28:58 -07:00
Nikolay Kim
bca31eb7ad
remove Deref
2019-04-02 13:35:01 -07:00
Nikolay Kim
709475b2bb
multipart::Field renamed to MultipartField
2019-03-29 11:59:38 -07:00
Nikolay Kim
e84c95968f
reuse PayloadBuffer from actix-http
2019-03-28 05:34:33 -07:00
Nikolay Kim
4309d9b88c
port multipart support
2019-03-28 05:04:39 -07:00
Nikolay Kim
e37e81af0b
simplify Payload extractor
2019-03-24 17:00:59 -07:00
Nikolay Kim
c14c66d2b0
add json extractor tests
2019-03-17 09:52:41 -07:00
Nikolay Kim
b550f9ecf4
update imports
2019-03-17 01:08:56 -07:00
Nikolay Kim
9012c46fe1
move payload futures from actix-http
2019-03-17 00:48:40 -07:00
Nikolay Kim
c80884904c
move JsonBody from actix-http
2019-03-16 22:04:09 -07:00
Nikolay Kim
725ee3d396
rename extract to types
2019-03-16 21:43:48 -07:00