Skip to main content

parse_trailers

Function parse_trailers 

Source
pub fn parse_trailers<'b, 'h>(
    section: &'b [u8],
    hs: &'h mut [Header<'b>],
    lim: &Limits,
) -> Result<&'h [Header<'b>], Error>
Expand description

Parses a trailer section as returned by BodyEvent::End: field lines followed by the empty line, or nothing.