Nikolay Kim
6a0cd2dced
Rename HttpServer::start() to HttpServer::run()
3 years ago
Nikolay Kim
c877840c07
rename App::register_data to App::app_data and HttpRequest::app_data returns Option<&T> instead of Option<&Data<T>>
3 years ago
Nikolay Kim
20248daeda
Allow to set peer_addr for TestRequest #1074
3 years ago
Nikolay Kim
a08d8dab70
AppConfig::secure() is always false. #1202
3 years ago
Nikolay Kim
1d12ba9d5f
Replace brotli with brotli2 #1224
3 years ago
Nikolay Kim
1732ae8c79
fix Bodyencoding trait usage
3 years ago
Nikolay Kim
db1d6b7963
refactor test server impl
3 years ago
Nikolay Kim
fa07415721
Replace flate2-xxx features with compress
3 years ago
Nikolay Kim
4a8a9ef405
update tests and clippy warnings
3 years ago
daxpedda
e5f3d88a4e
Switch brotli compressor to rust. ( #1197 )
...
* Switch to a rustified version of brotli.
* Some memory optimizations.
* Make brotli not optional anymore.
3 years ago
Nikolay Kim
f4c01384ec
update to latest actix-net
3 years ago
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
3 years ago
Nikolay Kim
8683ba8bb0
rename .to_async() to .to()
3 years ago
Nikolay Kim
3127dd4db6
migrate actix-web to std::future
3 years ago
Nikolay Kim
1ffa7d18d3
drop unpin constraint
3 years ago
Marat Safin
cb19ebfe0c
add rustls support for actix-http and awc ( #998 )
...
* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt
3 years ago
Nikolay Kim
163ca89cf4
more tests
3 years ago
Nikolay Kim
ee33f52736
make extractor config type explicit
3 years ago
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
3 years ago
Nikolay Kim
0a6dd0efdf
fix compression tests
3 years ago
Nikolay Kim
3872d3ba5a
refactor h1 dispatcher
3 years ago
Nikolay Kim
fbedaec661
add expect: 100-continue support #141
3 years ago
Nikolay Kim
309c480782
encoder sent uncompressed data before compressed
3 years ago
Nikolay Kim
bca31eb7ad
remove Deref
3 years ago
Nikolay Kim
34695f4bce
rename test methods; update tests
3 years ago
Nikolay Kim
193f8fb2d9
update tests
3 years ago
Douman
00526f60dc
Impl BodyEncoding for Response ( #740 )
3 years ago
Nikolay Kim
c126713f40
add rustls support to HttpServer
3 years ago
Nikolay Kim
878f32c495
fix tests for no-default-features
3 years ago
Nikolay Kim
605ce05127
App::enable_encoding() allows to enable compression and decompression
3 years ago
Nikolay Kim
e254fe4f9c
allow to override response body encoding
3 years ago
Nikolay Kim
1cca25c276
add client decompression support
3 years ago
Nikolay Kim
1904b01fc0
add content-encoding decompression
3 years ago
Nikolay Kim
50c0ddb3cd
update tests
3 years ago
Nikolay Kim
2c7da28ef9
move high level client code to awc crate
3 years ago
Nikolay Kim
86a21c956c
rename .middleware to .wrap
3 years ago
Nikolay Kim
88152740c6
move macros tests to codegen crate
3 years ago
Nikolay Kim
a07ea00cc4
add basic test for proc macro
3 years ago
Nikolay Kim
b550f9ecf4
update imports
3 years ago
Nikolay Kim
fa66a07ec5
move httpmessage futures to actix-web
3 years ago
Nikolay Kim
1f9467e880
update tests
3 years ago
Jannik Keye
bf8262196f
feat: enable use of patch as request method ( #718 )
3 years ago
Nikolay Kim
1941aa0217
use actix-connect crate
3 years ago
Nikolay Kim
86405cfe7a
more tests
3 years ago
Nikolay Kim
402a40ab27
update actix-server dep
3 years ago
Nikolay Kim
e15e4f18fd
update tests
3 years ago
Nikolay Kim
ad43ca735b
update server service requirenments
3 years ago
Nikolay Kim
d026821924
unify service builders
3 years ago
Nikolay Kim
ca73f178c9
revert generic service request; add ServerConfig to service factories
3 years ago
Nikolay Kim
3b069e0568
added combined http1/2 service
3 years ago