1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00
Commit Graph

95 Commits

Author SHA1 Message Date
Rob Ede
f2e736719a add url_for test for conflicting named resources 2022-01-20 01:30:33 +00:00
Rob Ede
81ef12a0fd add warn log to from_parts if given request is cloned
closes #2562
2022-01-19 22:23:53 +00:00
Rob Ede
1cc3e7b24c deprecate Path::path (#2590) 2022-01-19 20:26:33 +00:00
Rob Ede
2ffc21dd4f move response extensions out of head (#2585) 2022-01-19 02:09:25 +00:00
Ali MJ Al-Nasrawy
49cfabeaf5 simplify Resource trait (#2568)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-05 04:34:13 +00:00
Rob Ede
4616ca8ee6 rework Guard trait (#2552) 2021-12-28 02:37:13 +00:00
Rob Ede
1296e07c48 relax unpin bounds on payload types (#2545) 2021-12-24 17:47:47 +00:00
Ali MJ Al-Nasrawy
3c0d059d92 MessageBody::boxed (#2520)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-17 00:43:40 +00:00
Ali MJ Al-Nasrawy
f9348d7129 add ServiceResponse::into_parts (#2499) 2021-12-09 14:57:27 +00:00
Rob Ede
7dc034f0fb Remove extensions from head (#2487) 2021-12-08 22:58:50 +00:00
Rob Ede
d35b7644dc add connection level data container (#2491) 2021-12-07 17:23:34 +00:00
Rob Ede
2d053b7036 remove actix_http::http module (#2488) 2021-12-05 14:37:20 +00:00
Rob Ede
c7c02ef99d body ergonomics v3 (#2468) 2021-12-04 19:40:47 +00:00
Rob Ede
0df275c478 update all IETF RFC links to new URL format 2021-12-01 19:42:02 +00:00
Omid Rad
a6707fb7ee Remove checked_expr (#2401) 2021-10-11 18:28:09 +01:00
Rob Ede
d8a0f46f26 refactor web module (#2379) 2021-09-03 18:00:43 +01:00
Rob Ede
5f412c67db clippy 2021-08-13 18:49:58 +01:00
Rob Ede
f6e69919ed update to router 0.5.0 beta (#2339) 2021-08-06 22:42:31 +01:00
Rob Ede
293c52c3ef re-export ServiceFactory (#2325) 2021-07-12 16:55:41 +01:00
Igor Aleksanov
262c6bc828 Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Rob Ede
2d8d2f5ab0 app data doc improvements 2021-06-24 15:10:51 +01:00
Ibraheem Ahmed
8846808804 ServiceRequest::parts_mut (#2177) 2021-06-23 00:42:00 +01:00
Rob Ede
12f7720309 deprecate App::data and App::data_factory (#2271) 2021-06-22 15:50:58 +01:00
Rob Ede
f81d4bdae7 remove unused private hidden methods 2021-06-19 23:40:30 +01:00
Rob Ede
532f7b9923 refined error model (#2253) 2021-06-17 17:57:58 +01:00
Rob Ede
900c9e270e remove responsebody indirection from response (#2201) 2021-05-09 20:12:48 +01:00
Rob Ede
ddaf8c3e43 add associated error type to MessageBody (#2183) 2021-05-05 18:36:02 +01:00
Rob Ede
db97974dc1 make some http re-exports more accessible (#2171) 2021-04-19 03:29:38 +01:00
Rob Ede
35f8188410 restore cookie methods on ServiceRequest 2021-04-19 02:24:20 +01:00
Rob Ede
44c55dd036 remove cookie support from -http (#2065) 2021-04-09 18:07:10 +01:00
Rob Ede
c54a0713de migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
Rob Ede
c8ed8dd1a4 migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
Rob Ede
3188ef5731 don't use rust annotation on code doc blocks 2021-03-25 08:45:52 +00:00
Ibraheem Ahmed
1be54efbeb Simplify service factory macro (#2108) 2021-03-23 13:42:46 +00:00
Rob Ede
31d9ed81c5 change rustfmt line width to 96 2021-02-11 23:03:17 +00:00
Rob Ede
77efc09362 hide httpmessage mod 2021-02-11 22:58:40 +00:00
fakeshadow
dddb623a11 add services register for tuple and vec of services (#1933) 2021-02-07 23:47:51 +00:00
fakeshadow
41bc04b1c4 Use immutable reference of service state. Update awc dns resolver. (#1905) 2021-02-07 01:00:40 +00:00
Rob Ede
da69bb4d12 implement App::data as App::app_data(Data::new(T))) (#1906) 2021-01-15 23:37:33 +00:00
Rob Ede
b1dd8d28bc response header rework (#1869) 2021-01-15 02:11:10 +00:00
fakeshadow
57398c6df1 Refactor/service request (#1893) 2021-01-11 01:29:16 +00:00
Rob Ede
d3c476b8c2 use env_logger builders in examples 2021-01-07 02:41:05 +00:00
Rob Ede
dc23559f23 address clippy lints 2021-01-07 02:04:26 +00:00
fakeshadow
e1683313ec optimize ServiceRequest methods (#1870)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-04 00:32:41 +00:00
fakeshadow
32de9f8840 Tokio 1.0 (#1813)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Aravinth Manivannan
fabc68659b Intradoc links conversion (#1827)
* switching to nightly for intra-doc links

* actix-files intra-doc conversion

* more specific Result

* intradoc conversion complete

* rm blank comments and readme doc link fixes

* macros and broken links
2020-12-13 13:28:39 +00:00
Rob Ede
187646b2f9 match HttpRequest app_data behavior in ServiceRequest (#1618) 2020-08-09 15:51:38 +01:00
Takashi Idobe
23c8191cca add method to extract matched resource name (#1577)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-06-27 16:22:16 +01:00
Rob Ede
fa28175a74 add method to extract matched resource pattern (#1566) 2020-06-23 00:58:20 +01:00
Yuki Okushi
a98e53ecb8 web: Minimize futures dependencies 2020-05-19 08:29:12 +09:00