pub fn parse_response_head<const N: usize>(
input: &[u8],
head_request: bool,
) -> Result<Option<ResponseHead>, Error>Expand description
Parse a contiguous head without allocating. None requests more bytes.
The caller must bound the input buffer and handle informational responses.