SoupEncoding

How a message body is encoded for transport

Values

ValueMeaning
UNRECOGNIZED0

unknown / error

NONE1

no body is present (which is not the same as a 0-length body, and only occurs in certain places)

CONTENT_LENGTH2

Content-Length encoding

EOF3

Response body ends when the connection is closed

CHUNKED4

chunked encoding (currently only supported for response)

BYTERANGES5

multipart/byteranges (Reserved for future use: NOT CURRENTLY IMPLEMENTED)

Meta