Exception: Patron::HeaderCharsetInvalid

Inherits:
Error
  • Object
show all
Defined in:
lib/patron/error.rb

Overview

Gets raised when the server specifies an encoding that could not be found, or has an invalid name, or when the server "lies" about the encoding of the response body (such as can be the case when the server specifies an encoding in Content-Type) which the HTML generator then overrides with a meta element.

Direct Known Subclasses

NonRepresentableBody