Method: Patron::Response#charset
- Defined in:
- lib/patron/response.rb
#charset ⇒ String (readonly)
Returns the recognized name of the charset for the response. The name is not checked to be a valid charset name, just stored. To check the charset for validity, use #body_decodable?.
29 30 31 |
# File 'lib/patron/response.rb', line 29 def charset @charset end |