Modules§
Structs§
- Body
Range - A container for the payload slice and the optional
Content-Rangeheader. - Content
Range - A container for the payload range and the optional
Content-Rangeheader. - Unsatisfiable
Range - An unsatisfiable range request.
Functions§
- file_
range - Returns a
ContentRangeif the providedHttpRangeis satisfiable, otherwise it returnsUnsatisfiableRange. - serve_
file_ with_ http_ range - Returns a
BodyRangeofBytesif the providedHttpRangeis satisfiable, otherwise it returnsUnsatisfiableRange.