async fn parse_response(response: Response<Body>) -> (u16, Vec<u8>) {
    let status = response.status().as_u16();
    let body = hyper::body::to_bytes(response.into_body())
        .await
        .unwrap()
        .to_vec();
    (status, body)
}
/// Parses a `Response` into status code and body.
Parses a `Response` into status code and body.
Parses a ` Response ` into status code and body .
async fn parse_response(response: Response<Body>) -> (u16, Vec<u8>) {
    let status = response.status().as_u16();
    let body = hyper::body::to_bytes(response.into_body())
        .await
        .unwrap()
        .to_vec();
    (status, body)
}
async fn parse_response ( response : Response < Body > ) -> ( u16 , Vec < u8 > ) { let status = response . status ( ) . as_u16 ( ) ; let body = hyper :: body :: to_bytes ( response . into_body ( ) ) . await . unwrap ( ) . to_vec ( ) ; ( status , body ) }
Parses a `Response` into status code and body.
Parses a ` Response ` into status code and body .
response
Response<Body>
response
Response<Body>