Skip to main content

parse_response_head_with_config

Function parse_response_head_with_config 

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

Parse an ICAP response head with explicit bounds and compatibility policy.