class Patron::Response

def decoded_body

Returns:
  • (String, nil) -

Raises:
  • (Patron::HeaderCharsetInvalid) - when the server supplied a wrong or incorrect charset, {Patron::NonRepresentableBody}
def decoded_body
  return unless @body
  @decoded_body ||= decode_body(true)
end