Nikolay Kim
|
4d96abb639
|
use actix_web::Error for middleware errors
|
2019-03-10 16:35:38 -07:00 |
|
Nikolay Kim
|
54678308d0
|
propogate app config with http request; add tests for url_for
|
2019-03-09 14:06:24 -08:00 |
|
Nikolay Kim
|
fde55ffa14
|
revert generic request parameter for service; support ServerConfig as new factory config
|
2019-03-09 09:49:11 -08:00 |
|
Nikolay Kim
|
aadcdaa3d6
|
add resource map, it allow to check if router has resource and it allows to generate urls for named resources
|
2019-03-09 07:39:34 -08:00 |
|
Nikolay Kim
|
6efc3438b8
|
refactor and enable some tests for staticfiles
|
2019-03-05 22:10:08 -08:00 |
|
Nikolay Kim
|
81273f71ef
|
update tests
|
2019-03-05 19:03:59 -08:00 |
|
Nikolay Kim
|
0cf73f1a04
|
move session to different folder
|
2019-03-05 18:52:29 -08:00 |
|
Nikolay Kim
|
143ef87b66
|
add session and cookie session backend
|
2019-03-05 18:47:18 -08:00 |
|
Nikolay Kim
|
bd4124587a
|
provide block_on function for testing purpose
|
2019-03-04 13:25:35 -08:00 |
|
Nikolay Kim
|
34171fa7f5
|
add scopes
|
2019-03-03 21:02:01 -08:00 |
|
Nikolay Kim
|
8502c32a3c
|
re-enable extractor tests
|
2019-03-03 15:32:47 -08:00 |
|
Nikolay Kim
|
e50d4c5e0e
|
rename extractor module to extract, re-enable doc tests
|
2019-03-03 13:53:31 -08:00 |
|
Nikolay Kim
|
6df85e32df
|
added extractor configuration system
|
2019-03-03 00:57:48 -08:00 |
|
Nikolay Kim
|
d5c54a1867
|
update extractor tests
|
2019-03-02 22:03:45 -08:00 |
|
Nikolay Kim
|
e4198a037a
|
add TestServiceRequest builder
|
2019-03-02 16:24:14 -08:00 |
|
Nikolay Kim
|
2d7293aaf8
|
copy actix-web2
|
2019-03-01 22:51:32 -08:00 |
|
Jason Hills
|
b018e4abaf
|
Fixes TestRequest::with_cookie panic
|
2019-02-07 07:55:27 +03:00 |
|
Julian Tescher
|
e5cdd22720
|
Fix test server listener thread leak (#655)
|
2019-01-08 10:42:22 -08:00 |
|
Ji Qu
|
61883042c2
|
Add with-cookie init-method for TestRequest (#647)
|
2019-01-02 13:24:08 +03:00 |
|
Douman
|
46db09428c
|
Prepare release 0.7.16
|
2018-12-11 21:04:05 +03:00 |
|
Nikolay Kim
|
4b59ae2476
|
fix ssl config for client connector
|
2018-09-27 22:15:38 -07:00 |
|
Nikolay Kim
|
1ff86e5ac4
|
restore rust-tls support
|
2018-09-27 21:24:21 -07:00 |
|
Nikolay Kim
|
6f3e70a92a
|
simplify application factory
|
2018-09-27 18:33:29 -07:00 |
|
Nikolay Kim
|
a3cfc24232
|
refactor acceptor service
|
2018-09-27 18:33:29 -07:00 |
|
Nikolay Kim
|
d65c72b44d
|
use server keep-alive timer as slow request timer
|
2018-09-15 09:55:38 -07:00 |
|
Nikolay Kim
|
bf7779a9a3
|
add TestRequest::run_async_result helper method
|
2018-08-09 18:58:14 -07:00 |
|
Nikolay Kim
|
e4ce6dfbdf
|
refactor workers management
|
2018-08-09 11:52:32 -07:00 |
|
Nikolay Kim
|
cfe4829a56
|
add TestRequest::execute() helper method
|
2018-08-08 16:13:45 -07:00 |
|
Nikolay Kim
|
30769e3072
|
fix http/2 error handling
|
2018-08-07 20:48:25 -07:00 |
|
Nikolay Kim
|
0da3fdcb09
|
do not use Arc for rustls config
|
2018-08-01 10:59:00 -07:00 |
|
jrconlin
|
115f59dd14
|
Merge branch 'master' of https://github.com/actix/actix-web into feat/432
|
2018-08-01 09:59:36 -07:00 |
|
Nikolay Kim
|
58230b15b9
|
use one thread for accept loop; refactor rust-tls support
|
2018-07-31 19:51:26 -07:00 |
|
jrconlin
|
aa1e75f071
|
feature: allow TestServer to open a websocket on any URL
* added `TestServer::ws_at(uri_str)`
* modified `TestServer::ws()` to call `self.ws_at("/")` to preserve
behavior
Closes #432
|
2018-07-31 16:21:18 -07:00 |
|
Nikolay Kim
|
2071ea0532
|
HttpRequest::url_for is not working with scopes #429
|
2018-07-31 15:40:52 -07:00 |
|
Marat Safin
|
196da6d570
|
add rustls
|
2018-07-30 08:21:12 +03:00 |
|
Nikolay Kim
|
42d3e86941
|
calculate prefix dynamicly
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
da915972c0
|
refactor router
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
b8b90d9ec9
|
rename ResourceHandler to Resource
|
2018-07-12 15:30:01 +06:00 |
|
Nikolay Kim
|
5d79114239
|
optimize Request handling
|
2018-07-04 22:52:49 +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
|
c9069e9a3c
|
remove unneeded UnsafeCell
|
2018-06-21 23:21:28 +06:00 |
|
Nikolay Kim
|
65ca563579
|
use read only self for Middleware
|
2018-06-21 23:06:23 +06:00 |
|
Nikolay Kim
|
3de9284592
|
Handler::handle uses &self instead of mutabble reference
|
2018-06-21 17:07:54 +06:00 |
|
Nikolay Kim
|
27b6af2800
|
refactor route matching
|
2018-06-19 16:45:26 +06:00 |
|
Nikolay Kim
|
e4443226f6
|
update actix usage
|
2018-06-17 02:58:56 +06:00 |
|
Nikolay Kim
|
8261cf437d
|
update actix api
|
2018-06-13 23:37:19 -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
|
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
|
a64205e502
|
refactor TransferEncoding; allow to use client api with threaded tokio runtime
|
2018-05-29 16:32:39 -07:00 |
|
Nikolay Kim
|
844be8d9dd
|
fix ssl test server
|
2018-05-29 10:59:24 -07:00 |
|
Nikolay Kim
|
ecd05662c0
|
use new actix system api
|
2018-05-29 10:31:37 -07:00 |
|
Nikolay Kim
|
be2ceb7c66
|
update actix Addr; make ClientConnector thread safe
|
2018-05-27 05:02:49 -07:00 |
|
Nikolay Kim
|
690169db89
|
migrate to tokio
|
2018-05-24 21:03:16 -07:00 |
|
Aleksey Ivanov
|
2479b14aba
|
Fix TestServer::post
|
2018-05-23 19:07:42 +03:00 |
|
Nikolay Kim
|
b9d870645f
|
store cookies in extensions
|
2018-05-15 10:09:48 -07:00 |
|
Alexander Andreev
|
cd11293c1f
|
spelling check
|
2018-05-06 19:07:30 +03:00 |
|
Nikolay Kim
|
f37880d89c
|
refactor Responder trait
|
2018-05-04 11:44:22 -07:00 |
|
Nikolay Kim
|
acd7380865
|
rename Reply to a AsyncResult
|
2018-05-03 16:22:08 -07:00 |
|
Nikolay Kim
|
7036656ae4
|
make Reply generic over error too
|
2018-05-02 16:33:29 -07:00 |
|
Nikolay Kim
|
a1958deaae
|
add impl Future for Reply
|
2018-05-01 17:30:06 -07:00 |
|
Nikolay Kim
|
8d65468c58
|
refactor FromRequest trait
|
2018-05-01 17:19:15 -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
|
113f5ad1a8
|
add rustfmt config
|
2018-04-13 16:02:01 -07:00 |
|
Douman
|
62a9b4c53c
|
Rename HttpRequest::without_state into drop_state and make it public
|
2018-04-11 22:41:06 +03:00 |
|
Nikolay Kim
|
df21892b5b
|
added extractor configuration
|
2018-04-03 22:06:18 -07:00 |
|
Nikolay Kim
|
17c27ef42d
|
HttpRequest::resource() returns current matched resource
|
2018-04-01 17:37:22 -07:00 |
|
Nikolay Kim
|
3ee228005d
|
rename Application
|
2018-03-31 00:16:55 -07:00 |
|
Nikolay Kim
|
44e3df82f6
|
simplify http response construction; deprecate httpcodes
|
2018-03-30 23:07:33 -07:00 |
|
Nikolay Kim
|
f5636f321b
|
drop deprecated code
|
2018-03-29 11:06:44 -07:00 |
|
Nikolay Kim
|
d14991ec96
|
update doc strings
|
2018-03-28 21:49:50 -07:00 |
|
Nikolay Kim
|
65700281e8
|
add support for multiple extractors
|
2018-03-28 14:24:32 -07:00 |
|
Nikolay Kim
|
8198f5e10a
|
Refactor TestServer configuration
|
2018-03-20 11:23:35 -07:00 |
|
Nikolay Kim
|
4096089a3f
|
allow to disable http/2 support
|
2018-03-16 08:48:44 -07:00 |
|
Nikolay Kim
|
f55ef3a059
|
create default CpuPool
|
2018-03-07 14:56:53 -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
|
3b2928a391
|
Better naming for websockets implementation
|
2018-03-02 11:29:55 -08:00 |
|
Nikolay Kim
|
206c4e581a
|
rename httpcodes
|
2018-03-01 19:12:59 -08:00 |
|
Nikolay Kim
|
72aa2d9eae
|
clippy warnings
|
2018-02-26 14:33:56 -08:00 |
|
Nikolay Kim
|
a855c8b2c9
|
better ergonomics for WsClient::client()
|
2018-02-24 08:14:21 +03:00 |
|
Nikolay Kim
|
aff43cc8b8
|
fix routes registration order
|
2018-02-22 05:48:18 -08:00 |
|
Nikolay Kim
|
3f95cce9e8
|
allow to pass different binary data
|
2018-02-19 20:03:57 -08:00 |
|
Nikolay Kim
|
979cea03ac
|
added TestRequest::set_payload()
|
2018-02-19 20:01:38 -08:00 |
|
Nikolay Kim
|
548f4e4d62
|
replace reqwest with actix::client
|
2018-02-19 13:18:18 -08:00 |
|
Nikolay Kim
|
b1eec3131f
|
use newer api
|
2018-02-12 22:56:47 -08:00 |
|
Nikolay Kim
|
335ca8ff33
|
use new actix api
|
2018-02-12 16:08:04 -08:00 |
|
Nikolay Kim
|
30bdf9cb5e
|
update actix api
|
2018-02-12 01:13:06 -08:00 |
|
Nikolay Kim
|
94c4053cb5
|
more HttpServer type simplification
|
2018-02-10 11:01:54 -08:00 |
|
Christopher Armstrong
|
f8f99ec0c7
|
Disable signals in HttpServers started by the tests. (#69)
Something is wrong with signals on windows.
This change causes the unit tests to pass on Windows.
|
2018-02-08 14:55:47 -06:00 |
|
Nikolay Kim
|
577f91206c
|
added support for websocket testing
|
2018-01-30 15:13:33 -08:00 |
|
Alexander Andreev
|
e1d9c3803b
|
spelling check
|
2018-01-16 00:47:25 +03:00 |
|
Nikolay Kim
|
8a058efb4e
|
move server protocol impl to submodule
|
2018-01-11 18:35:05 -08:00 |
|
Nikolay Kim
|
e8412672a2
|
add resource level middlewares support
|
2018-01-09 20:00:18 -08:00 |
|
Nikolay Kim
|
6c7dda495b
|
add very simple http/2 test
|
2018-01-09 12:49:46 -08:00 |
|
Nikolay Kim
|
8348c830e2
|
no need for mut ref
|
2018-01-03 10:57:57 -08:00 |
|
Nikolay Kim
|
cc38b30f7b
|
refactor http actor usage
|
2017-12-31 17:26:32 -08:00 |
|
Nikolay Kim
|
3d3e4dae9a
|
refactor IntoHttpHandler trait
|
2017-12-29 11:33:04 -08:00 |
|