ring.util.mime-type
Utility functions for determining the mime-types files.
ext-mime-type
(ext-mime-type filename)
(ext-mime-type filename mime-types)
Get the mimetype from the filename extension. Takes an optional map of extensions to mimetypes that overrides values in the default-mime-types map.