Skip to main content

select

Function select 

Source
pub fn select(
    range: Option<&str>,
    if_range: Option<&str>,
    etag: &str,
    len: u64,
) -> Selection
Expand description

Select the bytes for Range and If-Range against a representation of len bytes whose strong validator is etag. An invalid Range is ignored (never a 400), a multi-range request is a strict 200, and only a matching strong If-Range ETag enables slicing.