Skip to main content

supports_ranges

Function supports_ranges 

Source
pub fn supports_ranges(accept_ranges: Option<&str>) -> bool
Expand description

Check if a request supports range requests based on Accept-Ranges.

Returns true if the resource can serve partial content.