/// Create a new HTTP response.
Create a new HTTP response.
Create a new HTTP response .
fn new(header: ResponseHeader, body: Vec<u8>) -> Response {
        Response {
            header: header,
            body:   body,
        }
    }
fn new ( header : ResponseHeader , body : Vec < u8 > ) -> Response { Response { header : header , body : body , } }
Create a new HTTP response.
Create a new HTTP response .
header
ResponseHeader
body
Vec<u8>