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

162 Commits

Author SHA1 Message Date
Nikolay Kim
2dd57a48d6 checks nested scopes in has_resource() 2018-07-16 11:33:29 +06:00
Mathieu Amiot
8f64508887 Added RouteInfo::has_prefixed_route() method for route matching with prefix awareness 2018-07-15 19:37:20 +02:00
Nikolay Kim
42d3e86941 calculate prefix dynamicly 2018-07-15 16:25:56 +06:00
Nikolay Kim
9570c1cccd rename RouteInfo 2018-07-15 16:25:56 +06:00
Nikolay Kim
da915972c0 refactor router 2018-07-15 16:25:56 +06:00
Nikolay Kim
b8b90d9ec9 rename ResourceHandler to Resource 2018-07-12 15:30:01 +06:00
Nikolay Kim
d5606625a2 remove public Clone for Request 2018-07-04 22:57:40 +06:00
Nikolay Kim
5d79114239 optimize Request handling 2018-07-04 22:52:49 +06:00
Nikolay Kim
6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim
fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Armin Ronacher
a5369aed8b
Changes a leaked box into an Rc<String> and makes resource() return an Option (#343) 2018-06-23 08:16:52 +02:00
Nikolay Kim
311f0b23a9 cleanup more code 2018-06-20 00:36:32 +06:00
Nikolay Kim
27b6af2800 refactor route matching 2018-06-19 16:45:26 +06:00
Nikolay Kim
a5bbc455c0 cleanup mut transform 2018-06-18 04:41:41 +06:00
Nikolay Kim
6ec8352612 method only for tests 2018-06-18 01:05:02 +06:00
Nikolay Kim
daed502ee5 make mut api private 2018-06-18 01:03:07 +06:00
Nikolay Kim
ea118edf56 do not use references in ConnectionInfo 2018-06-18 00:01:41 +06:00
Nikolay Kim
38fe8bebec fix doc string 2018-06-17 08:57:51 +06:00
Nikolay Kim
c3f295182f use HashMap for HttpRequest::query() 2018-06-17 08:54:30 +06:00
Nikolay Kim
879b2b5bde port Extensions from http crate #315 2018-06-17 03:22:08 +06:00
Nikolay Kim
e4443226f6 update actix usage 2018-06-17 02:58:56 +06:00
Nikolay Kim
f7bd6eeedc add application filters 2018-06-07 19:46:38 -07:00
Nikolay Kim
7ab23d082d fix doc test 2018-06-02 13:45:29 -07:00
Nikolay Kim
dcb561584d remove debug print 2018-06-02 11:55:50 -07:00
Nikolay Kim
4a39216aa7 fixed HttpRequest::url_for for a named route with no variables #265 2018-06-02 11:44:09 -07:00
Nikolay Kim
c8930b7b6b fix rustfmt formatting 2018-06-01 10:27:23 -07:00
Nikolay Kim
3f5a39a5b7 cargo fmt 2018-06-01 09:37:14 -07:00
Nikolay Kim
16906c5951 clippy warnings 2018-05-17 12:23:37 -07:00
Nikolay Kim
45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim
b9d870645f store cookies in extensions 2018-05-15 10:09:48 -07:00
Nikolay Kim
ef89430f9b undeprecate query() and store query in extensions 2018-05-15 09:53:58 -07:00
Alexander Andreev
599fd6af93 fix formatting 2018-05-07 20:53:45 +03:00
Alexander Andreev
cd11293c1f spelling check 2018-05-06 19:07:30 +03:00
Nikolay Kim
76b644365f use read only ref for FromRequest; remove unnecessary static 2018-05-02 06:07:30 -07:00
Nikolay Kim
8d65468c58 refactor FromRequest trait 2018-05-01 17:19:15 -07:00
Nikolay Kim
e01102bda2 no need for mut 2018-05-01 11:45:46 -07:00
Nikolay Kim
d9a4fadaae make HttpRequest::extensions() readonly 2018-05-01 09:05:50 -07:00
Nikolay Kim
48e05a2d87 add nested scope support 2018-04-30 22:04:24 -07:00
Nikolay Kim
eefbe19651 remove deprecated types and methods 2018-04-29 21:05:10 -07:00
Nikolay Kim
c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim
de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim
f8af3ef7f4 refactor keep-alive 2018-04-22 15:28:04 -07:00
Nikolay Kim
e9bdba57a0 Add identity service middleware 2018-04-18 19:05:24 -07:00
Nikolay Kim
f907be585e Middleware response() is not invoked if there was an error in async handler #187 2018-04-18 14:15:53 -07:00
Nikolay Kim
a826d113ee add custom request path quoter #182 2018-04-17 12:55:13 -07:00
Nikolay Kim
3a79505a44 update doc string 2018-04-17 07:51:06 -07:00
Nikolay Kim
113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim
b517957761 fix stats for tls and alpn features 2018-04-11 16:34:01 -07:00
Douman
62a9b4c53c Rename HttpRequest::without_state into drop_state and make it public 2018-04-11 22:41:06 +03:00
Nikolay Kim
e757dc5a71 clippy warnings 2018-04-09 14:25:30 -07:00