1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-12 07:23:11 +01:00
Commit Graph

312 Commits

Author SHA1 Message Date
Nikolay Kim
e332c1242f use Route for Applicaiton handlers 2017-12-04 14:53:40 -08:00
Nikolay Kim
3bf3738e65 introduce route predicates 2017-12-04 13:32:05 -08:00
Nikolay Kim
319e9bbd05 added Json response support 2017-12-03 18:51:52 -08:00
Nikolay Kim
7c6faaa8e0 add Item and Error to FromRequest trait 2017-12-03 14:22:04 -08:00
Nikolay Kim
fb3185de94 rename module 2017-12-02 16:47:02 -08:00
Nikolay Kim
47645626c4 refactor pipeline 2017-12-01 15:45:15 -08:00
Nikolay Kim
6e138bf373 refactor streaming responses 2017-11-30 14:42:20 -08:00
Nikolay Kim
acc2fff655 export and simplify HttpHandler trait 2017-11-29 13:53:52 -08:00
Nikolay Kim
427566b90d export Handler 2017-11-29 13:41:51 -08:00
Nikolay Kim
16ceb741b8 refactor RouteHandler trait 2017-11-29 13:26:55 -08:00
Nikolay Kim
6f833798c7 refactor http actor handling 2017-11-29 10:31:24 -08:00
Nikolay Kim
afeecea05f refactor reply handling 2017-11-28 19:49:17 -08:00
Nikolay Kim
170d3163f3 better export naming 2017-11-26 22:53:28 -08:00
Nikolay Kim
7569036dd4 refactor request pipeline 2017-11-24 22:15:52 -08:00
Nikolay Kim
59b8214685 better nightly detection 2017-11-24 10:28:43 -08:00
Nikolay Kim
f33c489154 added default ErrorResponse for std::error::Error 2017-11-24 10:03:13 -08:00
Nikolay Kim
a87784ba15 use Result intead of HandlerResult 2017-11-18 06:50:07 -10:00
Nikolay Kim
0143e18fe9 fix extern crate 2017-11-15 20:09:37 -10:00
Nikolay Kim
de71ad7de4 refactor error handling 2017-11-15 20:06:28 -10:00
Nikolay Kim
c565965865 rename BinaryBody 2017-11-10 13:42:32 -08:00
Nikolay Kim
be3a1ab770 use remote addr in logger if available 2017-11-10 13:26:12 -08:00
Nikolay Kim
40c1d3b711 refactor middlewares 2017-11-09 22:08:54 -08:00
Nikolay Kim
a65fd695e1 refactor content encoding 2017-11-06 16:23:58 -08:00
Nikolay Kim
c2978a6eea add content encoding decompression 2017-11-06 01:27:46 -08:00
Nikolay Kim
d7d3d663e9 refactor server impl and add support for alpn http2 negotiation 2017-11-04 12:33:14 -07:00
Nikolay Kim
32cefb8455 implement h2 writer 2017-11-04 09:07:44 -07:00
Nikolay Kim
4add742aba refactor task impl, extract stream writer to separate struct 2017-11-03 13:48:00 -07:00
Nikolay Kim
f010672885 rename modules 2017-11-03 13:48:00 -07:00
Nikolay Kim
c14e6c9008 make possible to use async handler 2017-11-03 13:35:34 -07:00
Nikolay Kim
ec3b139273 Allow to start tls server with HttpServer::serve_tls 2017-11-01 16:34:58 -07:00
Nikolay Kim
4e216701c0 better handler function ergonimics 2017-10-29 21:39:59 -07:00
Nikolay Kim
6b2248ecdf do not add error response if current response is in process 2017-10-29 14:51:30 -07:00
Nikolay Kim
af1e0bac08 add HttpContext::drain() 2017-10-29 06:05:31 -07:00
Nikolay Kim
d93244aa4f Do not use as it can not parse some valid paths 2017-10-27 22:19:00 -07:00
Nikolay Kim
c435f16170 refactory response body 2017-10-23 23:25:32 -07:00
Nikolay Kim
3adddc591d multipart tests 2017-10-22 21:40:41 -07:00
Nikolay Kim
26989f5591 server tests 2017-10-22 12:48:43 -07:00
Nikolay Kim
f85925a652 refactor error handling 2017-10-22 09:13:29 -07:00
Nikolay Kim
afe9459ce1 pass request by ref; added middleware support 2017-10-21 22:59:59 -07:00
Nikolay Kim
6a33b65f02 refactor server router 2017-10-21 18:54:24 -07:00
Nikolay Kim
aaef550bc5 multipart implementation 2017-10-18 23:43:50 -07:00
Nikolay Kim
264380bf33 add multipart and urlencoded bodies support 2017-10-17 16:46:57 -07:00
Nikolay Kim
f59f68eded new router recognizer 2017-10-16 19:21:24 -07:00
Nikolay Kim
ba1a73443e added StaticFiles basic impl 2017-10-16 01:19:23 -07:00
Nikolay Kim
5901f0f9f5 Application, router, resource builders 2017-10-15 14:17:41 -07:00
Nikolay Kim
5480cb5d49 rename httpmessage to httpresponse 2017-10-15 09:33:17 -07:00
Nikolay Kim
41f1e6cdc9 split http request; add HttpRequest::range() 2017-10-14 22:52:38 -07:00
Nikolay Kim
f0531793b4 add cookies support for response 2017-10-14 10:40:58 -07:00
Nikolay Kim
3516f02e4f keep-alive support 2017-10-13 16:33:23 -07:00
Nikolay Kim
0447c66de1 simplify Frame::Message; impl Try for Reply 2017-10-13 14:43:17 -07:00
Nikolay Kim
0e6a67fc26 refactor response generation 2017-10-10 16:03:32 -07:00
Nikolay Kim
9653a1fa98 export Body 2017-10-09 23:39:41 -07:00
Nikolay Kim
676347d7f6 drop hyper 2017-10-09 23:07:32 -07:00
Nikolay Kim
6d2f02ee5e doc strings 2017-10-08 20:55:44 -07:00
Nikolay Kim
e2dc775e21 refactor payload 2017-10-08 20:16:48 -07:00
Nikolay Kim
e398694bdb drop unused code 2017-10-08 17:47:41 -07:00
Nikolay Kim
63b78b6461 better naming 2017-10-08 14:56:51 -07:00
Nikolay Kim
4102b9e1c5 update docs 2017-10-07 23:59:57 -07:00
Nikolay Kim
f2d20514fa websocket support 2017-10-07 21:48:00 -07:00
Nikolay Kim
a505be9321 docs 2017-10-06 23:14:13 -07:00
Nikolay Kim
0b5f0c4f22 initial implementation 2017-10-06 21:51:27 -07:00
Nikolay Kim
5b6f5d8ce3 prep work 2017-09-30 09:10:03 -07:00