mirror of https://github.com/fafhrd91/actix-web
fix test
This commit is contained in:
parent
012580b003
commit
b7ffe12150
|
@ -749,7 +749,7 @@ mod plus_rustls {
|
|||
.collect::<String>();
|
||||
|
||||
let srv = actix_test::start_with(actix_test::config().rustls(tls_config()), || {
|
||||
App::new().service(web::resource("/").route(web::to(|bytes: Bytes| {
|
||||
App::new().service(web::resource("/").route(web::to(|bytes: Bytes| async {
|
||||
// echo decompressed request body back in response
|
||||
HttpResponse::Ok()
|
||||
.insert_header(header::ContentEncoding::Identity)
|
||||
|
|
Loading…
Reference in New Issue