pub fn empty_response(status: StatusCode) -> Response {
    let mut res = Response::new(Body::empty());
    *res.status_mut() = status;
    res
}
/// Create a response with an empty body and a specific status code.
Create a response with an empty body and a specific status code.
Create a response with an empty body and a specific status code .
pub fn empty_response(status: StatusCode) -> Response {
    let mut res = Response::new(Body::empty());
    *res.status_mut() = status;
    res
}
pub fn empty_response ( status : StatusCode ) -> Response { let mut res = Response :: new ( Body :: empty ( ) ) ; * res . status_mut ( ) = status ; res }
Create a response with an empty body and a specific status code.
Create a response with an empty body and a specific status code .
status
StatusCode
status
StatusCode