MessageHeaders.getEncoding

Gets the message body encoding that hdrs declare.

This may not always correspond to the encoding used on the wire; eg, a HEAD response may declare a Content-Length or Transfer-Encoding, but it will never actually include a body.

class MessageHeaders
getEncoding
()

Return Value

Type: soup.types.Encoding

the encoding declared by hdrs.