[−][src]Function http_header::header::parse_response
pub fn parse_response<'a, 'b: 'a>(
bytes: &'b [u8]
) -> Result<(ResponseHeader<'a>, &'b [u8]), HttpError>
Parses a HTTP response header from bytes
Returns the header and the remaining body data in bytes
if any ((header, body_data)
)