Skip to main content

content_range_unsatisfiable

Function content_range_unsatisfiable 

Source
pub fn content_range_unsatisfiable(resource_size: u64) -> String
Expand description

Generate a Content-Range header for an unsatisfiable range.

Returns a string like “bytes */1000” for a 416 response.