Module Sprockets::Mime
In: lib/sprockets/mime.rb

Methods

Public Instance methods

Returns the correct encoding for a given mime type, while falling back on the default external encoding, if it exists.

Returns a `Hash` of registered mime types registered on the environment and those part of `Rack::Mime`.

If an `ext` is given, it will lookup the mime type for that extension.

Register a new mime type.

[Validate]