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
SoupEncoding
getEncoding
()

Return Value

Type: SoupEncoding

the encoding declared by @hdrs.

Meta