Method: HTTPX::Transcoder::Xml::Encoder#content_type
- Defined in:
- lib/httpx/transcoder/xml.rb
#content_type ⇒ Object
18 19 20 21 |
# File 'lib/httpx/transcoder/xml.rb', line 18 def content_type charset = @raw.respond_to?(:encoding) ? @raw.encoding.to_s.downcase : "utf-8" "application/xml; charset=#{charset}" end |