Read and write the HTTP/1.1 transfer-encoding formats. Currently supported are chunked and content-length.
chunked
content-length
The encoding format detected from the transfer-encoding and content-length headers
transfer-encoding
A chunk of body that also signals if there to more to arrive
Convert the encoding format to a human-readable string
has_body encoding returns the appropriate variant that indicates whether the HTTP request or response has an associated body. It does not guess: instead Unknown is returned if there is no explicit association.
has_body encoding
Unknown