lib/httparty/request.rb
# Uses the HTTP Content-Type header to determine the format of the
# response It compares the MIME type returned to the types stored in the
# SupportedFormats hash
Uses the HTTP Content-Type header to determine the format of the
response It compares the MIME type returned to the types stored in the
SupportedFormats hash
Uses the HTTP Content - Type header to determine the format of the response It compares the MIME type returned to the types stored in the SupportedFormats hash
def format_from_mimetype(mimetype)
        if mimetype && parser.respond_to?(:format_from_mimetype)
          parser.format_from_mimetype(mimetype)
        end
      end
def format_from_mimetype ( mimetype ) if mimetype && parser . respond_to? ( :format_from_mimetype ) parser . format_from_mimetype ( mimetype ) end end
Uses the HTTP Content-Type header to determine the format of the
response It compares the MIME type returned to the types stored in the
SupportedFormats hash
Uses the HTTP Content - Type header to determine the format of the response It compares the MIME type returned to the types stored in the SupportedFormats hash
mimetype
<not_specific>