Skip to main content

parse_if_range

Function parse_if_range 

Source
pub fn parse_if_range(value: &[u8]) -> Result<IfRange<'_>, ParseError>
Expand description

Parses If-Range: an entity tag when the value starts with W/ or ", an IMF-fixdate otherwise.

ยงErrors

The errors of EntityTag::parse or HttpDate::parse_imf_fixdate.