1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Nikolay Kim
cfe4829a56 add TestRequest::execute() helper method 2018-08-08 16:13:45 -07:00
Erik Desjardins
954f1a0b0f impl FromRequest for () (#449) 2018-08-06 10:44:08 +03:00
Nikolay Kim
2071ea0532 HttpRequest::url_for is not working with scopes #429 2018-07-31 15:40:52 -07:00
Nikolay Kim
85b275bb2b fix warnings 2018-07-24 15:09:30 -07:00
Akos Vandra
35b754a3ab pr fixes 2018-07-24 09:42:46 +02:00
Akos Vandra
1079c5c562 Add FromRequest<S> implementation for Result<T> and Option<T> where T:FromRequest<S> 2018-07-24 09:42:46 +02:00
Akos Vandra
f4bb7efa89 add partialeq, eq, partialord and ord dervie to Path, Form and Query 2018-07-24 09:42:46 +02:00
Nikolay Kim
da915972c0 refactor router 2018-07-15 16:25:56 +06:00
Douman
7d753eeb8c
Private serde fork (#390)
* Fork serde_urlencoded

* Apply enum PR https://github.com/nox/serde_urlencoded/pull/30

* Add test to verify enum in query

* Docs are updated to show example of how to use enum.
2018-07-13 09:59:09 +03:00
Nikolay Kim
b8b90d9ec9 rename ResourceHandler to Resource 2018-07-12 15:30:01 +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
Nikolay Kim
b7d813eeba update tests 2018-06-21 12:04:00 +06:00
Nikolay Kim
0093b7ea5a refactor extractor configuration #331 2018-06-21 11:47:01 +06:00
Dursun Akkurt
748ff389e4 Allow to override Form extractor error 2018-06-13 00:47:47 +03:00
Nikolay Kim
7e0706a942 implement Debug for Form, Query, Path extractors 2018-06-02 15:00:11 -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
45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Niklas Fiekas
6f75b0e95e let Path::from_request() fail with ErrorNotFound 2018-05-08 22:59:46 +02:00
Alexander Andreev
cd11293c1f spelling check 2018-05-06 19:07:30 +03:00
Nikolay Kim
acd7380865 rename Reply to a AsyncResult 2018-05-03 16:22:08 -07:00
Nikolay Kim
4ca5d8bcfc add FromRequest impl for tuples of various length 2018-05-02 13:38:25 -07:00
Nikolay Kim
1aadfee6f7 rename from_default to extract 2018-05-02 06:09:50 -07: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
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
bf9a90293f fix doc strings 2018-04-17 16:22:25 -07:00
Nikolay Kim
30a36bed9d fix doc example 2018-04-16 09:50:37 -07:00
Nikolay Kim
79818560b2 cleanup doc strings; prepare release 2018-04-16 09:30:59 -07:00
Nikolay Kim
113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim
94c5bb5cdd add helper method for returning inner value 2018-04-12 15:55:15 -07:00
Nikolay Kim
084104d058 update doc strings for extractors 2018-04-06 10:24:57 -07:00
Nikolay Kim
2c411a04a9 no need for export in doc example 2018-04-06 10:15:06 -07:00
Nikolay Kim
800f711cc1 add PayloadConfig 2018-04-04 21:13:48 -07:00
Nikolay Kim
df21892b5b added extractor configuration 2018-04-03 22:06:18 -07:00
Nikolay Kim
d292c5023f add String and Bytes extractor 2018-04-02 16:19:18 -07:00
Nikolay Kim
ef6f310060 update urlencoded example in guide 2018-04-02 15:08:49 -07:00
Nikolay Kim
a6cbdde43f add extractor for Binary type; move all extractors to separate module 2018-04-02 14:55:42 -07:00
Nikolay Kim
86dd732704 use FromRequest instead of HttpRequestExtractor 2018-03-29 13:12:28 -07:00
Nikolay Kim
32052c2750 update guide 2018-03-29 10:01:07 -07:00
Nikolay Kim
7d6deab9fb drop request's extract_xxx methods 2018-03-29 09:26:01 -07:00
Nikolay Kim
45dec8d0c0 optimize with and with2 method impls and tests 2018-03-28 21:33:40 -07:00
Nikolay Kim
e1d2536d85 remove unused code 2018-03-28 14:34:17 -07:00
Nikolay Kim
65700281e8 add support for multiple extractors 2018-03-28 14:24:32 -07:00
Nikolay Kim
df7ffe14f2 add PathAndQuery extractor 2018-03-28 11:20:06 -07:00
Nikolay Kim
36161aba99 update Path and Query doc strings 2018-03-28 07:27:06 -07:00
Nikolay Kim
9f5a91ae3c export types 2018-03-27 21:59:55 -07:00
Nikolay Kim
4358da9926 refactor WithHandler trait 2018-03-27 20:33:24 -07:00