Function resource_proxy_pingora::range::extract_range

source ยท
pub fn extract_range(session: &Session, meta: &Metadata) -> Option<Range>
Expand description

This processes the Range and If-Range request headers to produce the requested byte range if any.

Range header missing, using some unsupported format or overruled by If-Range header will all result in None being returned.

Note: Multiple ranges are not supported.