Http.RangeRange requests.
Support for range requests.
type bytes = [ | `First of intFirst given offset to last offset
*)| `Last of intAt most last given n bytes.
| `Range of int * intFirst offset and last offset.
*) ]The type for byte range specifications. Offsets are zero-based.
val eval_bytes : length:int -> bytes -> (int * int) optioneval_bytes ~length b given a representation length len and byte range b returns a concrete zero-based byte range or None if the range cannot be satisfied for length.
type t = [ | `Bytes of bytes listByte ranges.
*)| `Other of string * stringRange unit and value.
*) ]The type for ranges.
val encode : t -> stringencode r serializes ranges r in unit u. It's the client duty to make sure ranges are valid.