method
media_type
v7.1.3.2 -
Show latest stable
- Class:
ActionDispatch::Request
media_type()public
The String MIME type of the request.
# get "/articles" request.media_type # => "application/x-www-form-urlencoded"
media_type()The String MIME type of the request.
# get "/articles" request.media_type # => "application/x-www-form-urlencoded"