Encoding#
- class Encoding#
How a message body is encoded for transport
Fields#
- class Encoding
- BYTERANGES#
Multipart/byteranges (Reserved for future use: NOT CURRENTLY IMPLEMENTED)
- CHUNKED#
Chunked encoding (currently only supported for response)
- CONTENT_LENGTH#
Content-Length encoding
- EOF#
Response body ends when the connection is closed
- NONE#
No body is present (which is not the same as a 0-length body, and only occurs in certain places)
- UNRECOGNIZED#
Unknown / error