This commit is contained in:
Rob Ede 2022-01-24 11:07:29 +00:00
parent 012580b003
commit b7ffe12150
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 1 additions and 1 deletions

View File

@ -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)