method
negotiate_mime
v4.2.9 -
Show latest stable
- Class:
ActionDispatch::Http::MimeNegotiation
negotiate_mime(order)public
Receives an array of mimes and return the first user sent mime that matches the order array.
negotiate_mime(order)Receives an array of mimes and return the first user sent mime that matches the order array.