1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-22 16:16:40 +00:00
Commit graph

2534 commits

Author SHA1 Message Date
Nikolay Kim
e18227cc3d add wrap_fn to App and Scope 2019-03-25 13:43:02 -07:00
Douman
d30027ac5b Remove StaticFilesConfig (#731)
* Remove StaticFilesConfig

* Applying comments

* Impl Clone for Files<S>
2019-03-25 13:02:37 -07:00
Nikolay Kim
86a21c956c rename .middleware to .wrap 2019-03-25 13:02:10 -07:00
Nikolay Kim
939d2e745c rename Resource::middleware to Resource::wrap and add wrap_fn for fn middlewares 2019-03-25 12:47:58 -07:00
Nikolay Kim
1970c99522 add session test 2019-03-24 20:21:20 -07:00
Nikolay Kim
51e4dcf3b3 update test doc string 2019-03-24 17:13:17 -07:00
Nikolay Kim
e37e81af0b simplify Payload extractor 2019-03-24 17:00:59 -07:00
Nikolay Kim
ed322c175e update tests 2019-03-24 16:28:16 -07:00
Nikolay Kim
b95e99a09e update changes 2019-03-24 16:17:59 -07:00
Nikolay Kim
ffb3324129 do not use default resource from app, return 405 if no matching route found 2019-03-24 16:15:34 -07:00
Nikolay Kim
9932a342ef export Scope 2019-03-24 11:59:35 -07:00
Nikolay Kim
c1e8d8363c fix errhandlers doc string 2019-03-24 11:49:26 -07:00
Nikolay Kim
913155d34c update doc strings 2019-03-24 11:47:23 -07:00
Nikolay Kim
ede32c8b3f export errhandlers module 2019-03-24 11:32:30 -07:00
Nikolay Kim
307b2e5b0e fix compress features 2019-03-24 11:29:35 -07:00
Nikolay Kim
bc01d39d4d add error response test for cors 2019-03-23 22:03:40 -07:00
Nikolay Kim
548f6f89bf allow to get app data via HttpRequest 2019-03-23 21:39:02 -07:00
Nikolay Kim
5b06f2bee5 port cors middleware 2019-03-23 21:29:16 -07:00
Nikolay Kim
60050307bd session feature is renamed to cookies 2019-03-23 11:18:31 -07:00
Nikolay Kim
1e069bb843 Merge branch '1.0' 2019-03-23 10:16:32 -07:00
Nikolay Kim
535b407ac0 make cookies optional 2019-03-23 10:06:54 -07:00
Nikolay Kim
c5c7b244be cookie is optional 2019-03-23 09:40:20 -07:00
Nikolay Kim
00b7dc7887 handle socket shutdown for h1 connections 2019-03-18 09:44:48 -07:00
Nikolay Kim
8872f3b590 fix ws upgrade 2019-03-18 05:30:18 -07:00
Nikolay Kim
fd86d73a03 fix response upgrade type 2019-03-18 05:26:12 -07:00
Nikolay Kim
efe3025395 add handshake test 2019-03-17 22:57:27 -07:00
Nikolay Kim
3301a46264 proper connection upgrade check 2019-03-17 22:56:13 -07:00
Nikolay Kim
b0343eb22d simplify ws stream interface 2019-03-17 22:31:10 -07:00
Nikolay Kim
6ab7665868 export ws module 2019-03-17 22:11:50 -07:00
Nikolay Kim
fd3e351c31 add websockets context 2019-03-17 22:02:03 -07:00
Nikolay Kim
f26d4b6a23 do not chunk websocket stream 2019-03-17 21:57:53 -07:00
Nikolay Kim
85c2887b30 export ws::hash_key 2019-03-17 21:09:50 -07:00
Nikolay Kim
88152740c6 move macros tests to codegen crate 2019-03-17 20:20:10 -07:00
Nikolay Kim
a07ea00cc4 add basic test for proc macro 2019-03-17 13:55:03 -07:00
Nikolay Kim
6b66681827 add basic actors integration 2019-03-17 13:47:20 -07:00
Nikolay Kim
9bd0f29ca3 add tests for error and some responders 2019-03-17 10:11:10 -07:00
Nikolay Kim
c14c66d2b0 add json extractor tests 2019-03-17 09:52:41 -07:00
Nikolay Kim
2b5f9f0511 temp fix for tarpaulin 2019-03-17 08:52:03 -07:00
Nikolay Kim
7435c5e9bf temp fix for tarpaulin 2019-03-17 01:49:00 -07:00
Nikolay Kim
b550f9ecf4 update imports 2019-03-17 01:08:56 -07:00
Nikolay Kim
fa66a07ec5 move httpmessage futures to actix-web 2019-03-17 01:02:51 -07:00
Nikolay Kim
9012c46fe1 move payload futures from actix-http 2019-03-17 00:48:40 -07:00
Nikolay Kim
fd141ef9b1 move json to actix-web 2019-03-16 22:10:15 -07:00
Nikolay Kim
c80884904c move JsonBody from actix-http 2019-03-16 22:04:09 -07:00
Nikolay Kim
725ee3d396 rename extract to types 2019-03-16 21:43:48 -07:00
Nikolay Kim
4a4826b23a cleanup doc strings and clippy warnings 2019-03-16 21:35:02 -07:00
Nikolay Kim
e396c90c9e update api doc 2019-03-16 21:13:16 -07:00
Nikolay Kim
60386f1791 introduce RouteData extractor 2019-03-16 21:09:11 -07:00
Nikolay Kim
6afcecdb5f Merge branch '1.0' of github.com:actix/actix-web into 1.0 2019-03-16 20:17:48 -07:00
Nikolay Kim
b1e267bce4 rename State to a Data 2019-03-16 20:17:27 -07:00