1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-27 07:19:04 +02:00
This commit is contained in:
Lioness100
2023-02-20 03:11:16 -05:00
committed by GitHub
parent dc08ea044b
commit 42193bee29
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
- `actix_http_test::TestServer` moved to `actix_web::test` module. To start
test server use `test::start()` or `test_start_with_config()` methods
- `ResponseError` trait has been reafctored. `ResponseError::error_response()` renders
- `ResponseError` trait has been refactored. `ResponseError::error_response()` renders
http response.
- Feature `rust-tls` renamed to `rustls`

View File

@ -268,7 +268,7 @@ where
})
}
/// Fallible version of [`read_body_json`] that allows testing response deserialzation errors.
/// Fallible version of [`read_body_json`] that allows testing response deserialization errors.
pub async fn try_read_body_json<T, B>(res: ServiceResponse<B>) -> Result<T, Box<dyn StdError>>
where
B: MessageBody,