parse_content_range_header

Function parse_content_range_header 

Source
pub fn parse_content_range_header(
    headers: &HeaderMap,
) -> Option<(u64, u64, u64)>
Expand description

Parses a Content-Range header from a response.

Returns the start, end, and total size if the header is present and valid.