method
content_mime_type
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Http::MimeNegotiation
content_mime_type()public
The MIME type of the HTTP request, such as Mime::XML.
For backward compatibility, the post format is extracted from the X-Post-Data-Format HTTP header if present.