1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 08:22:59 +01:00
Commit Graph

2137 Commits

Author SHA1 Message Date
Nikolay Kim
34c8b95a35 allow to extract body from response 2019-03-05 21:15:18 -08:00
Nikolay Kim
d85468f7e1 do not expose headers_mut via HttpMessage 2019-03-05 19:07:07 -08:00
Nikolay Kim
496ee8d039 remove more MessageBody constraints from Response 2019-03-05 18:14:30 -08:00
Nikolay Kim
0d2116156a Messagebody constraint is not required from Response::into_body 2019-03-05 17:24:24 -08:00
Nikolay Kim
200cae19a9 add HttpMessage impl &mut T 2019-03-05 14:39:06 -08:00
Nikolay Kim
96477d42cb extend HttpMessage trait, add api to work with requests cookies 2019-03-05 13:16:26 -08:00
Nikolay Kim
01329af1c2 fix non ssl code 2019-03-05 10:18:46 -08:00
Nikolay Kim
ce0b172598 update actix-service 2019-03-05 09:30:11 -08:00
Nikolay Kim
3a456ec148 update actix-service dependency 2019-03-04 20:46:33 -08:00
Nikolay Kim
65a313c78b update utils dep 2019-03-04 19:51:09 -08:00
Nikolay Kim
a88b3b090d allow to specify service config for h1 service 2019-03-04 15:58:39 -08:00
Nikolay Kim
b535adf637 add IntoFuture impl for Response and ResponseBuilder 2019-03-02 21:22:01 -08:00
Nikolay Kim
2d0495093c add Payload::take method 2019-03-02 18:37:09 -08:00
Nikolay Kim
00ea195601 TestRequest::take public 2019-03-02 16:04:43 -08:00
Nikolay Kim
0081b9d446 improve ergomonics of TestRequest 2019-03-02 15:59:05 -08:00
Nikolay Kim
de9b38295f update deps 2019-03-02 15:08:10 -08:00
Nikolay Kim
5fff07402e downgrade tarpaulin 2019-03-01 21:36:37 -08:00
Nikolay Kim
650474ca39 choose openssl version for travis 2019-03-01 21:02:56 -08:00
Nikolay Kim
38c86d4683 update tarpaulin travis config 2019-03-01 20:33:31 -08:00
Nikolay Kim
b80ee71785 use new new service api 2019-02-22 14:21:35 -08:00
Nikolay Kim
2f89b12f4f remove more response containts 2019-02-20 21:05:37 -08:00
Nikolay Kim
60a8da5c05 remove Response constraint 2019-02-20 21:02:23 -08:00
Nikolay Kim
7f749ac9cc add missing end of line 2019-02-18 22:34:22 -08:00
Nikolay Kim
781f1a3fef do not skip content length is no chunking is selected 2019-02-18 22:20:00 -08:00
Nikolay Kim
c8713d045c poll payload again if framed object get flushed during same iteration 2019-02-18 21:41:38 -08:00
Nikolay Kim
842da939dc fix chunked transfer encoding handling 2019-02-18 20:24:50 -08:00
Nikolay Kim
d180b2a1e3 update tests 2019-02-18 18:46:30 -08:00
Nikolay Kim
037c3da172 enable ssl for connector 2019-02-18 18:40:40 -08:00
Nikolay Kim
e6e83ea57e add Response::map_body 2019-02-18 17:01:35 -08:00
Nikolay Kim
118606262b refactor payload handling 2019-02-13 13:52:11 -08:00
Nikolay Kim
8d4ce0c956 export PayloadStream 2019-02-12 11:09:58 -08:00
Nikolay Kim
a41459bf69 make payload generic 2019-02-12 11:07:42 -08:00
Nikolay Kim
32021532c3 export Payload type 2019-02-12 09:55:29 -08:00
Nikolay Kim
f9724fa0ec add ErrorResponse impl for TimeoutError 2019-02-11 09:54:41 -08:00
Nikolay Kim
e178db7f74 fix test 2019-02-09 21:32:44 -08:00
Nikolay Kim
1af149b9e6 remove Clone constraint from handler service 2019-02-09 20:27:39 -08:00
Nikolay Kim
a66d8589c2 add Extensions::contains method 2019-02-09 10:45:35 -08:00
Nikolay Kim
6a343fae06 simplify Message type 2019-02-09 10:33:49 -08:00
Nikolay Kim
f3ed1b601e Change service response to Into<Response> 2019-02-09 08:44:22 -08:00
Nikolay Kim
ed7ca7fe07 make Message clonable and expose as public 2019-02-07 21:50:20 -08:00
Nikolay Kim
b0e36fdcf9 simplify Message api 2019-02-07 21:19:10 -08:00
Nikolay Kim
a7a2d4cf5c fix warns 2019-02-07 19:53:48 -08:00
Nikolay Kim
2a6e4dc7ab use non mutable self for HttpMessage::payload() for ergonomic reasons 2019-02-07 19:26:12 -08:00
Nikolay Kim
5575ee7d2d use same payload type for h1 and h2 2019-02-07 13:41:50 -08:00
Nikolay Kim
7d49a07f91 add h1/h2 payload 2019-02-07 13:39:15 -08:00
Nikolay Kim
c4596b0bd6 add headers from actix-web 2019-02-07 13:24:24 -08:00
Nikolay Kim
cd83553db7 simplify payload api; add missing http error helper functions 2019-02-07 11:37:33 -08:00
Nikolay Kim
fcace161c7 fix manifest features 2019-02-06 12:22:40 -08:00
Nikolay Kim
55a29d3778 add h2 server support 2019-02-06 11:44:15 -08:00
Nikolay Kim
ef5b54a481 use released service crate 2019-02-03 14:05:44 -08:00