mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
feat: Introduce Bodies of Unknown Size
This commit is contained in:
@@ -128,7 +128,7 @@ impl IntoResponse for StatusCode {
|
||||
|
||||
impl IntoResponse for () {
|
||||
fn into_response(self) -> Response {
|
||||
Body::empty().into_response()
|
||||
Body::unknown().into_response()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user