method

content_mime_type

rails latest stable - Class: ActionDispatch::Http::MimeNegotiation
content_mime_type()
public

The MIME type of the HTTP request, such as Mime[:xml].