Skip to main content

parse_response_head

Function parse_response_head 

pub fn parse_response_head<'headers, 'src>(
    method: MethodKind,
    src: &'src [u8],
    headers: &'headers mut [HeaderSlot],
) -> Result<ParseStatus<ResponseHead<'headers, 'src>>, ParseError>
Available on crate feature icap only.
Expand description

Parse an ICAP response head into caller-owned header storage.