1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 16:02:59 +01:00
Commit Graph

99 Commits

Author SHA1 Message Date
Nikolay Kim
68cf32e848 add path and query extractors 2018-03-26 15:58:30 -07:00
Nikolay Kim
47f836cd1b add helper method for response creation 2018-03-22 21:14:57 -07:00
Douman
ec192e0ab1 Show Request's hidden methods 2018-03-17 18:10:22 +03:00
Nikolay Kim
6657446433 Allow to set read buffer capacity for server request 2018-03-12 10:01:56 -07:00
Nikolay Kim
717602472a clippy warnings 2018-03-09 10:11:38 -08:00
Nikolay Kim
2853086463 add write buffer capacity config 2018-03-09 10:00:15 -08:00
Nikolay Kim
395243a539 another attempt to fix cookie handling 2018-03-08 11:16:54 -08:00
Nikolay Kim
42d2a29b1d non-blocking processing for NamedFile 2018-03-07 17:40:13 -08:00
Nikolay Kim
1db1ce1ca3 one more cookie handling fix 2018-03-07 15:41:46 -08:00
Nikolay Kim
f55ef3a059 create default CpuPool 2018-03-07 14:56:53 -08:00
Nikolay Kim
16c05f07ba make HttpRequest::match_info_mut() public 2018-03-02 20:40:08 -08:00
Nikolay Kim
206c4e581a rename httpcodes 2018-03-01 19:12:59 -08:00
Nikolay Kim
a7bf635158 unify headers and body processing for client response and server request 2018-02-27 15:03:28 -08:00
Nikolay Kim
6c480fae90 added HttpRequest::encoding() method; fix urlencoded parsing with charset 2018-02-27 11:31:54 -08:00
Nikolay Kim
d6fd4a3524 use buffer capacity; remove unused imports 2018-02-26 15:34:25 -08:00
Nikolay Kim
72aa2d9eae clippy warnings 2018-02-26 14:33:56 -08:00
Nikolay Kim
0a3b776aa7 refactor multipart stream 2018-02-26 06:00:54 +03:00
Nikolay Kim
6ef9c60361 add Read and AsyncRead impl to HttpRequest 2018-02-25 21:26:58 +03:00
Nikolay Kim
a2b98b31e8 refactor payload related futures for HttpRequest 2018-02-25 20:34:26 +03:00
Nikolay Kim
141b992450 Make payload and httprequest a stream 2018-02-25 11:21:45 +03:00
Nikolay Kim
aff43cc8b8 fix routes registration order 2018-02-22 05:48:18 -08:00
Nikolay Kim
fd56e5dc82 do not use regset for route recognition 2018-02-21 14:31:22 -08:00
Nikolay Kim
360ffbba68 clone router with httprequest 2018-02-19 14:26:51 -08:00
Nikolay Kim
7ad66956b2 add HttpRequest::uri_mut(), allows to modify request uri 2018-02-03 08:31:32 -08:00
Nikolay Kim
9739168d48 fix limit usage for Request/Response Body future 2018-01-30 12:44:14 -08:00
Nikolay Kim
b686f39d0b complete impl for client request and response 2018-01-29 14:44:25 -08:00
Nikolay Kim
4abb769ee5 fix request json loader; mime_type() method 2018-01-25 21:50:28 -08:00
Alexander Andreev
e1d9c3803b spelling check 2018-01-16 00:47:25 +03:00
Nikolay Kim
8348c830e2 no need for mut ref 2018-01-03 10:57:57 -08:00
Nikolay Kim
ae084d1146 added helper future for reading request body 2018-01-03 09:23:58 -08:00
Nikolay Kim
70ea43b3c0 fix drain support for actor; make pattern more reusable 2018-01-02 23:43:17 -08:00
Nikolay Kim
cc38b30f7b refactor http actor usage 2017-12-31 17:26:32 -08:00
Nikolay Kim
6ea894547d better application handling, fix url_for method for routes with prefix 2017-12-29 14:04:13 -08:00
Nikolay Kim
491d43aa8c update tests 2017-12-29 11:49:36 -08:00
Nikolay Kim
093d0bae40 Param ctor is private 2017-12-27 19:19:28 -08:00
Nikolay Kim
6bb893deab use Params object for query 2017-12-27 19:02:29 -08:00
Nikolay Kim
743235b8fd add unit test helper 2017-12-26 19:48:02 -08:00
Nikolay Kim
cf8c2ca95e refactor Handler trait, use mut self 2017-12-26 09:00:45 -08:00
Nikolay Kim
bca1dd4f9e update doc strings 2017-12-20 23:19:21 -08:00
Nikolay Kim
0a68811dce cleanup more examples 2017-12-20 21:06:04 -08:00
Nikolay Kim
63ddc07ccb added JsonBody future 2017-12-20 20:30:54 -08:00
Nikolay Kim
1596f4db73 refactor url encoded body parsing 2017-12-19 14:03:01 -08:00
Nikolay Kim
fa2a3bc55e make method private 2017-12-19 13:11:19 -08:00
Nikolay Kim
db7bd962cb fix some doc strings 2017-12-19 11:46:11 -08:00
Nikolay Kim
2bad99b645 better query() method impl; update doc strings 2017-12-19 11:34:51 -08:00
Nikolay Kim
790793f8a1 refactor multipart stream creation 2017-12-19 09:51:28 -08:00
Nikolay Kim
f3b853f224 refactor payload 2017-12-19 00:18:57 -08:00
Nikolay Kim
ed8bd3d6a3 h1 cleanups 2017-12-15 22:49:48 -08:00
Nikolay Kim
106f43e874 better SharedBytes usage for h2 2017-12-14 20:48:31 -08:00
Nikolay Kim
c37565cc4a various server optimizations 2017-12-14 19:34:31 -08:00