Skip to main content

parse_range

Function parse_range 

Source
pub fn parse_range(header: &str) -> Option<RangeSpec>
Expand description

Parse Range: bytes=<spec> into a RangeSpec.

Returns None for absent, malformed, or non-bytes range headers.