1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-11 04:32:28 +00:00
Commit graph

94 commits

Author SHA1 Message Date
Nikolay Kim
b98ab2eebe use trait instead of pipeline 2017-12-09 04:33:40 -08:00
Nikolay Kim
1293619096 set server settings to HttpHandler 2017-12-08 09:24:05 -08:00
Nikolay Kim
d595dd850e load cookies automatically 2017-12-07 18:00:20 -08:00
Nikolay Kim
0abb3863dc simplify api 2017-12-07 17:38:18 -08:00
Nikolay Kim
dff7618f35 rearrange exports 2017-12-07 16:40:29 -08:00
Nikolay Kim
968f5d39d6 added external resources; refactor route recognizer 2017-12-07 16:22:26 -08:00
Nikolay Kim
4b03d03404 rearrange exports 2017-12-06 17:06:40 -08:00
Nikolay Kim
9ea0781aba fix test 2017-12-06 16:58:49 -08:00
Nikolay Kim
63502fa833 test for Router::has_route 2017-12-06 16:40:23 -08:00
Nikolay Kim
0dd27bd224 added HttpRequest::url_for 2017-12-06 16:26:27 -08:00
Nikolay Kim
d7e65b6212 add ConnectionInfo tests 2017-12-05 21:41:30 -08:00
Nikolay Kim
c3de32c3b3 added ConnectionInfo 2017-12-05 17:09:15 -08:00
Nikolay Kim
d8b880e167 work on resource_path api 2017-12-05 13:31:06 -08:00
Nikolay Kim
61744b68a1 introduce custom FromRequest traint for conversion into Reply 2017-12-02 16:37:21 -08:00
Nikolay Kim
3fcd5f6935 use http::Uri for uri parsing 2017-11-30 19:01:25 -08:00
Nikolay Kim
d2eae3d5b3 simplify Handler trait 2017-11-29 15:10:45 -08:00
Nikolay Kim
6f833798c7 refactor http actor handling 2017-11-29 10:31:24 -08:00
Nikolay Kim
45433f71e5 impl Default trait for HttpRequest 2017-11-26 22:20:28 -08:00
Nikolay Kim
8e80fed2af added urlencoded errors 2017-11-26 22:00:25 -08:00
Nikolay Kim
fdafb0c848 simplify middleware api; fix examples 2017-11-26 21:47:33 -08:00
Nikolay Kim
5a3b6638a7 move state to request object 2017-11-26 21:18:38 -08:00
Nikolay Kim
8e0a7f44d4 pass request by value 2017-11-26 20:34:20 -08:00
Nikolay Kim
eb7f48a1c6 include payload into request 2017-11-26 19:00:57 -08:00
Nikolay Kim
32483735ba cookie session implementation 2017-11-26 17:34:11 -08:00
Nikolay Kim
de71ad7de4 refactor error handling 2017-11-15 20:06:28 -10:00
Nikolay Kim
be3a1ab770 use remote addr in logger if available 2017-11-10 13:26:12 -08:00
Nikolay Kim
f369d9af0e make remote addr available to http request 2017-11-10 13:08:15 -08:00
Nikolay Kim
51cd08ef57 store cookies load state 2017-11-08 21:01:56 -08:00
Nikolay Kim
b2670c94f4 added HttpRequest::content_type(), query() method returns HashMap 2017-10-29 06:03:21 -07:00
Nikolay Kim
d93244aa4f Do not use as it can not parse some valid paths 2017-10-27 22:19:00 -07:00
Nikolay Kim
fb0270e27d refactor Payload stream 2017-10-26 23:14:33 -07:00
Nikolay Kim
efada51f12 add exclude pattern for tests 2017-10-23 14:26:01 -07:00
Nikolay Kim
6ad048d445 multipart boundary extraction 2017-10-22 09:30:05 -07:00
Nikolay Kim
afe9459ce1 pass request by ref; added middleware support 2017-10-21 22:59:59 -07:00
Nikolay Kim
24804250a8 update multipart impl 2017-10-19 16:22:21 -07:00
Nikolay Kim
aaef550bc5 multipart implementation 2017-10-18 23:43:50 -07:00
Nikolay Kim
264380bf33 add multipart and urlencoded bodies support 2017-10-17 16:46:57 -07:00
Nikolay Kim
f59f68eded new router recognizer 2017-10-16 19:21:24 -07:00
Nikolay Kim
35107f64e7 make HttpServer generic over incoming stream 2017-10-16 13:13:32 -07:00
Nikolay Kim
ff6779a38e use ParseError for HttpRequest::chunked() 2017-10-16 10:31:31 -07:00
Nikolay Kim
95fa70d19e rename params to match_info 2017-10-16 10:20:16 -07:00
Nikolay Kim
88a81155bd added HttpRequest::query 2017-10-16 09:43:10 -07:00
Nikolay Kim
ba1a73443e added StaticFiles basic impl 2017-10-16 01:19:23 -07:00
Nikolay Kim
41f1e6cdc9 split http request; add HttpRequest::range() 2017-10-14 22:52:38 -07:00