Skip to main content

decide

Function decide 

Source
pub fn decide(
    range: Option<&str>,
    if_range: Option<&str>,
    etag: &str,
    size: u64,
) -> RangeDecision
Expand description

Decides how to answer a request with the headers range and if_range for a file of size bytes whose ETag is etag.