Skip to main content

Module transfer

Module transfer 

Source

Enums§

Body
An HTTP message body.
MessageKind
Who is asking: determines whether “no Content-Length, no TE” means a body (responses: read until close) or no body (requests).
RequestMethod
The request method that prompted a response (used to decide body for HEAD).

Functions§

resolve_body
Resolve the body reader for a message given its headers and kind.
write_framing_headers
Serialize body framing headers for an outgoing message.