pub fn build_content_range_header(
start: u64,
end: u64,
total: u64,
) -> HeaderValueExpand description
Builds a Content-Range header value.
Creates a header value in the format “bytes start-end/total”.
§Example
use tower_http_cache::range::build_content_range_header;
let header = build_content_range_header(0, 1023, 10240);
assert_eq!(header.to_str().unwrap(), "bytes 0-1023/10240");