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
cb682b08e4
update to alpha6
2019-04-14 10:30:37 -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
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
043f6e77ae
remove nested multipart support
2019-04-13 10:11:07 -07:00
Nikolay Kim
48518df883
do not generate all docs; use docs.rs for 1.0 docs
2019-04-13 09:35:23 -07:00
Nikolay Kim
1f2b15397d
prepare alpha5 release
2019-04-12 14:00:45 -07:00
Nikolay Kim
87167f6581
update actix-connect
2019-04-12 12:33:11 -07:00
Nikolay Kim
b4768a8f81
add TestRequest::run(), allows to run async functions
2019-04-12 11:28:57 -07:00
Nikolay Kim
3fb7343e73
provide during test request construction
2019-04-12 11:22:18 -07:00
Nikolay Kim
5cfba5ff16
add FramedRequest builder for testing
2019-04-12 11:15:58 -07:00
Nikolay Kim
67c34a5937
Add Debug impl for BoxedSocket
2019-04-11 16:01:54 -07:00
Nikolay Kim
94d7a7f873
custom future for SendError service
2019-04-11 15:12:23 -07:00