method
media_type
v8.1.1 -
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"