1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 08:52:42 +01:00
Commit Graph

125 Commits

Author SHA1 Message Date
Nikolay Kim
26f37ec2e3 refactor HttpHandlerTask trait 2018-06-18 05:45:54 +06:00
Daniel McNab
f8854f951c remove duplication of App::with_state in App::new 2018-06-13 20:31:20 +01:00
David McNeil
0d54b6f38e Implement Responder for Option #294 (#297) 2018-06-11 14:05:41 +03:00
Nikolay Kim
f9f2ed04ab fix doc test 2018-06-07 20:22:23 -07:00
Nikolay Kim
f7ef8ae5a5 add Host predicate 2018-06-07 20:00:54 -07:00
Nikolay Kim
f7bd6eeedc add application filters 2018-06-07 19:46:38 -07:00
Josh Leeb-du Toit
9c9eb62031 Update Middleware trait to use &mut self 2018-06-02 16:47:18 +10: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
68eb2f26c9 Allow to use path without traling slashes for scope registration #241 2018-05-23 13:21:29 -07:00
Nikolay Kim
45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim
c755d71a8b add filters support to scopes 2018-05-07 14:40:04 -07:00
Nikolay Kim
a817ddb57b add variable segments support for scope prefix 2018-05-07 13:50:43 -07:00
Nikolay Kim
acd7380865 rename Reply to a AsyncResult 2018-05-03 16:22:08 -07:00
Nikolay Kim
8d65468c58 refactor FromRequest trait 2018-05-01 17:19:15 -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
9c1bda3eca fix stable compiler compatibility 2018-04-29 19:49:26 -07:00
Nikolay Kim
368730f5f1 Add route scopes #202 2018-04-29 19:35:50 -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
fd876efa68 allow to access application state during configuration stage 2018-04-26 09:05:07 -07:00
Nikolay Kim
022f9800ed formatting 2018-04-18 10:49:03 -07:00
Nikolay Kim
65b8197876 better doc string for Application::with_state() 2018-04-17 13:59:55 -07:00
Nikolay Kim
a826d113ee add custom request path quoter #182 2018-04-17 12:55:13 -07:00
Aleksey Ivanov
6a7b097bcf Fix route in App::resource example 2018-04-17 16:01:34 +03:00
Nikolay Kim
113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim
83168731fc update user guide content compression section 2018-04-12 09:54:35 -07:00
Nikolay Kim
be288fa00a for NamedFile process etag and last modified only if status code is 200 2018-04-10 10:57:53 -07:00
Nikolay Kim
81ac905c7b fix prefix and static file serving #168 2018-04-10 10:16:00 -07:00
Nikolay Kim
1686682c19 extend CorsBuilder api to make it more user friendly 2018-04-09 21:11:15 -07:00
Vincent Ambo
b2a43a3c8d docs(application): Formatting & spelling fixes in module docs 2018-04-07 17:19:11 +02:00
Nikolay Kim
7243c58fce stable rust compatibility 2018-04-06 21:57:45 -07:00
Nikolay Kim
fffaf2bb2d App::route method 2018-04-06 21:18:42 -07:00
Nikolay Kim
542315ce7f simplify StaticFiles 2018-04-06 19:34:55 -07:00
Nikolay Kim
691457fbfe update tests 2018-04-06 09:45:10 -07:00
Nikolay Kim
df21892b5b added extractor configuration 2018-04-03 22:06:18 -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
3ee228005d rename Application 2018-03-31 00:16:55 -07:00
Nikolay Kim
44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim
9e751de707 re-arrange modules and exports 2018-03-30 17:31:18 -07:00
Nikolay Kim
f5636f321b drop deprecated code 2018-03-29 11:06:44 -07:00
Nikolay Kim
62fb75ff95 add Application::configure method, it simplifies configuration process 2018-03-27 11:16:02 -07:00
Nikolay Kim
f55ef3a059 create default CpuPool 2018-03-07 14:56:53 -08:00
Nikolay Kim
206c4e581a rename httpcodes 2018-03-01 19:12:59 -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
ddc82395e8 try to remove trailing slash for normalize path handler 2018-02-19 14:27:36 -08:00