Commit Graph

136 Commits

Author SHA1 Message Date
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
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 86dd732704 use FromRequest instead of HttpRequestExtractor 2018-03-29 13:12:28 -07:00
Nikolay Kim ae6c9cb7fa re-arrange exports, some doc string updates 2018-03-29 10:44:26 -07:00
Nikolay Kim 7d6deab9fb drop request's extract_xxx methods 2018-03-29 09:26:01 -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 4358da9926 refactor WithHandler trait 2018-03-27 20:33:24 -07:00
Nikolay Kim 2f60a4b89d add handler with exatractor 2018-03-26 23:10:31 -07:00
Nikolay Kim 8fff2c7595 remove Path and Query from public api 2018-03-26 18:18:38 -07:00
Nikolay Kim 68cf32e848 add path and query extractors 2018-03-26 15:58:30 -07:00
Nikolay Kim 47f836cd1b add helper method for response creation 2018-03-22 21:14:57 -07:00
Douman ec192e0ab1 Show Request's hidden methods 2018-03-17 18:10:22 +03:00
Nikolay Kim 6657446433 Allow to set read buffer capacity for server request 2018-03-12 10:01:56 -07:00
Nikolay Kim 717602472a clippy warnings 2018-03-09 10:11:38 -08:00
Nikolay Kim 2853086463 add write buffer capacity config 2018-03-09 10:00:15 -08:00
Nikolay Kim 395243a539 another attempt to fix cookie handling 2018-03-08 11:16:54 -08:00
Nikolay Kim 42d2a29b1d non-blocking processing for NamedFile 2018-03-07 17:40:13 -08:00
Nikolay Kim 1db1ce1ca3 one more cookie handling fix 2018-03-07 15:41:46 -08:00
Nikolay Kim f55ef3a059 create default CpuPool 2018-03-07 14:56:53 -08:00
Nikolay Kim 16c05f07ba make HttpRequest::match_info_mut() public 2018-03-02 20:40:08 -08:00
Nikolay Kim 206c4e581a rename httpcodes 2018-03-01 19:12:59 -08:00
Nikolay Kim a7bf635158 unify headers and body processing for client response and server request 2018-02-27 15:03:28 -08:00