lookup(string) 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_type.rb, line 164
      def lookup(string)
        # fallback to the media-type without parameters if it was not found
        LOOKUP[string] || LOOKUP[string.split(";", 2)[0]&.rstrip] || Type.new(string)
      end
Register or log in to add new notes.