Commit Graph

44 Commits

Author SHA1 Message Date
Nikolay Kim de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim a826d113ee add custom request path quoter #182 2018-04-17 12:55:13 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim 6c906b08e1 match resource path before executing middlewares 2018-04-02 10:27:37 -07:00
Nikolay Kim 17c27ef42d HttpRequest::resource() returns current matched resource 2018-04-01 17:37:22 -07:00
Nikolay Kim 90e3aaaf8a fix router cannot parse Non-ASCII characters in URL #137 2018-03-28 16:10:58 -07:00
Nikolay Kim 2158ad29ee add Pattern::with_prefix, make it usable outside of actix 2018-03-02 20:39:22 -08:00
Nikolay Kim 72aa2d9eae clippy warnings 2018-02-26 14:33:56 -08: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 6ee14efbe2 optimize http message serialization 2018-02-19 17:21:04 -08:00
Nikolay Kim 4d81186059 escape router pattern re 2018-02-19 14:57:57 -08:00
Nikolay Kim e439d0546b * fix force_close
* shutdown io before exit

* fix response creation with body from pool
2018-01-03 18:21:34 -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 3d3e4dae9a refactor IntoHttpHandler trait 2017-12-29 11:33:04 -08:00
Nikolay Kim d87fafb563 fix and refactor middleware runner 2017-12-29 01:01:31 -08:00
Nikolay Kim 19e1c1b75b use Cow for Params type 2017-12-27 18:41:09 -08:00
Nikolay Kim cf8c2ca95e refactor Handler trait, use mut self 2017-12-26 09:00:45 -08:00
Nikolay Kim 55204c829c update tests 2017-12-13 08:00:25 -08:00
Nikolay Kim 774bfc0a86 use server settings for scheme and host values 2017-12-08 09:48:53 -08:00
Nikolay Kim d595dd850e load cookies automatically 2017-12-07 18:00:20 -08:00
Nikolay Kim 968f5d39d6 added external resources; refactor route recognizer 2017-12-07 16:22:26 -08:00
Nikolay Kim a18bd5dac0 add doc ref 2017-12-06 16:34:54 -08:00
Nikolay Kim 0dd27bd224 added HttpRequest::url_for 2017-12-06 16:26:27 -08:00
Nikolay Kim 6a33b65f02 refactor server router 2017-10-21 18:54:24 -07:00
Nikolay Kim 92b81899dd update doc strings 2017-10-16 20:13:47 -07:00
Nikolay Kim 774de4b44a doc string 2017-10-16 19:40:11 -07:00
Nikolay Kim f59f68eded new router recognizer 2017-10-16 19:21:24 -07:00
Nikolay Kim 95fa70d19e rename params to match_info 2017-10-16 10:20:16 -07:00
Nikolay Kim 5901f0f9f5 Application, router, resource builders 2017-10-15 14:17:41 -07:00
Nikolay Kim 41f1e6cdc9 split http request; add HttpRequest::range() 2017-10-14 22:52:38 -07:00
Nikolay Kim 0447c66de1 simplify Frame::Message; impl Try for Reply 2017-10-13 14:43:17 -07:00
Nikolay Kim 0e6a67fc26 refactor response generation 2017-10-10 16:03:32 -07:00
Nikolay Kim 9653a1fa98 export Body 2017-10-09 23:39:41 -07:00
Nikolay Kim e2dc775e21 refactor payload 2017-10-08 20:16:48 -07:00
Nikolay Kim 63b78b6461 better naming 2017-10-08 14:56:51 -07:00
Nikolay Kim 4102b9e1c5 update docs 2017-10-07 23:59:57 -07:00
Nikolay Kim f2d20514fa websocket support 2017-10-07 21:48:00 -07:00
Nikolay Kim ce4aea46c3 better naming 2017-10-06 23:36:36 -07:00
Nikolay Kim a505be9321 docs 2017-10-06 23:14:13 -07:00
Nikolay Kim 0b5f0c4f22 initial implementation 2017-10-06 21:51:27 -07:00