get_encoding


Description:

public Encoding get_encoding ()

Gets the message body encoding that this 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.

Parameters:

this

a MessageHeaders

Returns:

the encoding declared by this.