Commit Graph

59 Commits

Author SHA1 Message Date
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
Nikolay Kim 96f598f2c4 various optimizations 2017-12-13 16:44:35 -08:00
Nikolay Kim 6b61041aec move tests 2017-12-13 11:16:26 -08:00
Nikolay Kim 55204c829c update tests 2017-12-13 08:00:25 -08:00
Nikolay Kim 2e83c5924d cleanup and optimize some code 2017-12-12 21:32:58 -08:00
Nikolay Kim 0388a464ba tests for NormalizePath 2017-12-09 13:25:06 -08:00
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