Commit Graph

68 Commits

Author SHA1 Message Date
Nikolay Kim d85468f7e1 do not expose headers_mut via HttpMessage 2019-03-05 19:07:07 -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 118606262b refactor payload handling 2019-02-13 13:52:11 -08:00
Nikolay Kim a41459bf69 make payload generic 2019-02-12 11:07:42 -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 cd83553db7 simplify payload api; add missing http error helper functions 2019-02-07 11:37:33 -08:00
Nikolay Kim 55a29d3778 add h2 server support 2019-02-06 11:44:15 -08:00
Nikolay Kim c3d3e8b465 move TestServer to separate crate 2019-01-27 11:07:48 -08:00
Nikolay Kim 9f4d48f7a1 update tests 2018-12-06 15:03:01 -08:00
Nikolay Kim e9121025b7 convert to 2018 edition 2018-12-06 14:32:52 -08:00
Nikolay Kim 8c2244dd88 rename HttpResponse 2018-10-05 11:04:59 -07:00
Nikolay Kim 829dbae609 cleanups and tests 2018-10-04 21:14:18 -07:00
Nikolay Kim 6aa2de7b8d remove actix-web artifacts 2018-10-04 17:00:27 -07:00
Nikolay Kim 1716380f08 clippy fmt 2018-08-23 09:48:01 -07:00
Nikolay Kim 3373847a14 allocate buffer for request payload extractors 2018-07-16 00:40:22 +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 311f0b23a9 cleanup more code 2018-06-20 00:36:32 +06:00
Nikolay Kim b6ed778775 remove HttpMessage::range() 2018-06-17 08:48:50 +06:00
Nikolay Kim a7a062fb68 clippy warnings 2018-06-17 03:26:34 +06:00
Dursun Akkurt cb77f7e688 Add `HttpMessage::readlines()` 2018-06-14 00:19:48 +03:00
Dursun Akkurt 1bee528018 move ReadlinesError to error module 2018-06-13 22:59:36 +03:00
Dursun Akkurt ad9aacf521 change poll method of Readlines 2018-06-13 22:41:35 +03:00
Dursun Akkurt 6d95e34552 add HttpMessage::readlines() 2018-06-13 20:45:31 +03:00
Dursun Akkurt 6c765739d0 add HttpMessage::readlines() 2018-06-13 20:43:03 +03:00
Nikolay Kim 8b8a3ac01d Support chunked encoding for UrlEncoded body #262 2018-06-02 15:00:06 -07:00
Pascal Hertleif 890a7e70d6 Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Nikolay Kim c8930b7b6b fix rustfmt formatting 2018-06-01 10:27:23 -07:00
Nikolay Kim 154cd3c5de better actix mod re-exports 2018-06-01 09:36:16 -07:00
Douman 80965d7a9a
Re-export actix dependency. Closes #260 (#264)
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim 45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -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 5140fea8d1 allow to use castom error handler for json extractor 2018-04-13 19:10:42 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -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 cbf4c61eb5 add urlencoded body extractor 2018-04-02 14:00:18 -07:00
Nikolay Kim 44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim 9e751de707 re-arrange modules and exports 2018-03-30 17:31:18 -07:00
Nikolay Kim 145010a2b0 use unreachable instead of panic 2018-03-29 15:55:27 -07:00
Nikolay Kim 4358da9926 refactor WithHandler trait 2018-03-27 20:33:24 -07:00
Nikolay Kim f3c63e631a add protobuf feature 2018-03-08 20:56:18 -08:00
kingxsp a0b589eb96 Add protobuf support 2018-03-09 10:05:13 +08:00
Nikolay Kim 42d2a29b1d non-blocking processing for NamedFile 2018-03-07 17:40:13 -08:00
Nikolay Kim 32b5544ad9 port hyper header 2018-03-06 00:43:25 -08:00
Nikolay Kim e182ed33b1 add Header trait 2018-03-05 19:28:42 -08:00
Nikolay Kim 206c4e581a rename httpcodes 2018-03-01 19:12:59 -08:00
Nikolay Kim 8994732227 doc strings 2018-02-27 23:30:26 -08:00