class Patron::Response
def body_decodable?
-
(Boolean)
- true if the body is decodable, false if otherwise
def body_decodable? return true if @body.nil? return true if decoded_body rescue HeaderCharsetInvalid, NonRepresentableBody false end