Commit Graph

2602 Commits

Author SHA1 Message Date
Nikolay Kim d00c9bb844 do not consume boundary 2019-04-21 16:14:09 -07:00
Nikolay Kim 895e409d57 Optimize multipart handling #634, #769 2019-04-21 15:41:01 -07:00
Nikolay Kim f0789aad05 update dep versions 2019-04-21 09:03:46 -07:00
Nikolay Kim 7e480ab2f7 beta.1 release 2019-04-20 21:16:51 -07:00
Nikolay Kim 891f857547 update changes 2019-04-20 11:18:04 -07:00
Nikolay Kim 01b1350dcc update versions 2019-04-19 18:16:01 -07:00
Nikolay Kim 5e4e95fb0a update create version 2019-04-19 18:13:05 -07:00
Nikolay Kim 9f421b81b8 fix non-ssl connector 2019-04-19 18:10:53 -07:00
Nikolay Kim 6decfdda1f update deps 2019-04-19 18:06:34 -07:00
Nikolay Kim fc9b14a933 allow to specify server address for http and ws requests 2019-04-19 18:03:44 -07:00
Nikolay Kim 7292d0b696 drop chrono and use i64 for max age 2019-04-19 17:23:17 -07:00
Nikolay Kim a3844c1bfd update version 2019-04-19 13:55:36 -07:00
Kilerd Chan 791f22bbc8 replate `time::Duration` with `chrono::Duration` and add `max_age_time` method (#789)
* feat: replate time::Duration with chrono::Duration

* feat: rename max_age method which accepts `Duration` to max_age_time and add new max_age method accepting isize of seconds

* feat: replace `time:Duration` with `chrono:Duration` in repo `actix-http`
2019-04-19 13:54:44 -07:00
Douman 1e7f97a111 Add Normalization middleware for in place (#783) 2019-04-19 13:53:49 -07:00
Darin bc40f5ae40
Merge pull request #788 from Dowwie/master
added put and patch to TestRequest, docs, and test
2019-04-19 06:55:44 -04:00
Darin 3504a8fc0a
Merge branch 'master' into master 2019-04-19 04:38:41 -04:00
Nikolay Kim bfe0df5ab0 update tests 2019-04-18 21:28:23 -07:00
Darin ed94df189f
Merge branch 'master' into master 2019-04-18 19:03:48 -04:00
Nikolay Kim aa255298ef make ServiceRequest::from_parts private, as it is not safe to create from parts 2019-04-18 16:03:13 -07:00
dowwie da86b6e062 added put and patch to TestRequest, docs, and test 2019-04-18 18:06:32 -04:00
Nikolay Kim 75e340137d use local version of http-test 2019-04-18 12:23:56 -07:00
Nikolay Kim e659e09e29 update tests 2019-04-18 11:01:04 -07:00
Nikolay Kim 163ca89cf4 more tests 2019-04-17 17:48:25 -07:00
Nikolay Kim 85b598a614 add cookie session test 2019-04-17 11:02:03 -07:00
Nikolay Kim b64851c5ec enable runtime for test:: methods 2019-04-17 10:28:27 -07:00
Nikolay Kim cc8420377e pass request ownership to closure instead of ref 2019-04-16 15:43:55 -07:00
Nikolay Kim 5740f1e63a prepare actix-framed release 2019-04-16 11:18:47 -07:00
Nikolay Kim c943e95812 update dependencies 2019-04-16 11:17:29 -07:00
Nikolay Kim 4c0ebd55d3 prepare actix-http-test release 2019-04-16 11:02:26 -07:00
Nikolay Kim e7ec77aa81 update readme 2019-04-16 10:50:37 -07:00
Nikolay Kim ddfd7523f7 prepare awc release 2019-04-16 10:49:38 -07:00
Nikolay Kim 2986077a28 no need for feature 2019-04-16 10:32:48 -07:00
Nikolay Kim 3744957804 actix_http::encoding always available 2019-04-16 10:27:58 -07:00
Nikolay Kim 420d3064c5 Add .peer_addr() #744 2019-04-16 10:11:38 -07:00
Nikolay Kim eb4f6b74fb Merge branch 'master' of github.com:actix/actix-web 2019-04-16 09:58:07 -07:00
Nikolay Kim a116c4c2c7 Expose peer addr via Request::peer_addr() and RequestHead::peer_addr 2019-04-16 09:54:02 -07:00
Travis Harmon 7f674febb1 add 422 to httpcodes.rs (#782) 2019-04-15 16:55:06 -07:00
Nikolay Kim 14252f5ef2 use test::call_service 2019-04-15 09:09:21 -07:00
Nikolay Kim 7a28b32f6d Rename test::call_success to test::call_service 2019-04-15 07:44:07 -07:00
Nikolay Kim 09cdf1e302 Rename RouterConfig to ServiceConfig 2019-04-15 07:32:49 -07:00
Nikolay Kim 1eebd47072 fix warnings 2019-04-14 21:00:16 -07:00
Nikolay Kim 002c41a7ca update trust-dns 2019-04-14 20:45:44 -07:00
Nikolay Kim ab4fda6084 update tests 2019-04-14 20:20:33 -07:00
Nikolay Kim f9078d41cd add test::read_response; fix TestRequest::app_data() 2019-04-14 19:52:12 -07:00
Darin 4cc2b38059 added read_response_json for testing (#776)
* added read_response_json for testing

* cleaned up

* modied docs for read_response_json

* typo in doc

* test code in doc should compile now

* use type coercion in doc

* removed generic R, replaced with Request
2019-04-14 16:25:45 -07:00
Nikolay Kim d7040dc303 alpha.6 release 2019-04-14 08:09:32 -07:00
Nikolay Kim 6bc1a0c76b Do not set default headers for websocket request 2019-04-14 07:43:53 -07:00
Nikolay Kim 5bd5651faa Allow to use any service as default service 2019-04-13 22:25:00 -07:00
Nikolay Kim 32ac159ba2 update migration 2019-04-13 16:51:41 -07:00
Nikolay Kim ee33f52736 make extractor config type explicit 2019-04-13 16:35:25 -07:00