Http.Transfer
Read and write the HTTP/1.1 transfer-encoding formats. Currently supported are chunked and content-length.
chunked
content-length
type encoding =
| Chunked
dynamic chunked encoding
| Fixed of int64
fixed size content
| Unknown
unknown body size, which leads to best-effort
The encoding format detected from the transfer-encoding and content-length headers
transfer-encoding
val compare_encoding : encoding -> encoding -> int
module Private : sig ... end