diff --git a/src/response.rs b/src/response.rs index de2f5d79..80d2d7a2 100644 --- a/src/response.rs +++ b/src/response.rs @@ -59,6 +59,12 @@ impl IntoResponse for Response { } } +impl IntoResponse for Body { + fn into_response(self) -> Response { + Response::new(self) + } +} + impl IntoResponse for &'static str { #[inline] fn into_response(self) -> Response {