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
Nikolay Kim
d86567fbdc
revert SendResponse::Error type
2019-04-11 14:18:58 -07:00
Nikolay Kim
d115b3b3ed
ws verifyciation takes RequestHead; add SendError utility service
2019-04-11 14:00:32 -07:00
Nikolay Kim
6420a2fe1f
update client example
2019-04-10 20:57:18 -07:00
Nikolay Kim
0eed9e5257
add more migration
2019-04-10 20:51:57 -07:00
Nikolay Kim
7801fcb993
update migration
2019-04-10 20:47:28 -07:00
Nikolay Kim
e55be4dba6
add FramedRequest helper methods
2019-04-10 19:57:34 -07:00
Nikolay Kim
12e1dad42e
export TestBuffer
2019-04-10 19:43:09 -07:00
Nikolay Kim
7cd59c38d3
rename framed App
2019-04-10 18:08:28 -07:00
Nikolay Kim
8dc4a88aa6
add actix-framed
2019-04-10 15:06:27 -07:00
Nikolay Kim
52aebb3bca
fmt
2019-04-10 15:05:03 -07:00
Nikolay Kim
6b42b2aaee
remove framed for now
2019-04-10 12:55:56 -07:00
Darin
6ab9838977
added some error logging for extractors: Data, Json, Query, and Path ( #765 )
...
* added some error logging for extractors
* changed log::error to log::debug and fixed position of log for path
* added request path to debug logs
2019-04-10 12:45:13 -07:00
Nikolay Kim
9d82d4dfb9
Fix body propagation in Response::from_error. #760
2019-04-10 12:43:31 -07:00
Nikolay Kim
9bb40c249f
add h1::SendResponse future; renamed to MessageBody::size
2019-04-10 12:24:17 -07:00
Douman
046b7a1425
Expand codegen to allow specify guards and async
2019-04-10 15:43:18 +03:00
Nikolay Kim
c22a3a71f2
fix test
2019-04-08 19:07:11 -07:00
Nikolay Kim
9c9940d88d
update readme
2019-04-08 17:53:19 -07:00
Nikolay Kim
561f83d044
add upgrade service support to h1 dispatcher
2019-04-08 17:51:14 -07:00
Nikolay Kim
43d325a139
allow to specify upgrade service
2019-04-08 14:51:16 -07:00
Nikolay Kim
0a6dd0efdf
fix compression tests
2019-04-08 12:48:39 -07:00
Nikolay Kim
b921abf18f
set host header for http1 connections
2019-04-08 12:48:26 -07:00
Darin
9bcd5d6664
updated legacy code in call_success example ( #762 )
2019-04-08 11:20:46 -07:00
Nikolay Kim
bc58dbb2f5
add async expect service test
2019-04-08 11:19:56 -07:00
Nikolay Kim
b1547bbbb6
do not set default headers
2019-04-08 11:09:57 -07:00
Nikolay Kim
a7fdac1043
fix expect service registration and tests
2019-04-08 10:31:29 -07:00