Flowdock
content_type() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 36
      def content_type
        if self.class.return_only_media_type_on_content_type
          ActiveSupport::Deprecation.warn(
            "Rails 7.1 will return Content-Type header without modification."              " If you want just the MIME type, please use `#media_type` instead."
          )

          content_mime_type&.to_s
        else
          super
        end
      end
Register or log in to add new notes.