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)

ContentLength2

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)