Liking cljdoc? Tell your friends :D

ring.util.mime-type

Utility functions for determining the mime-types files.

Utility functions for determining the mime-types files.
raw docstring

default-mime-typesclj

A map of file extensions to mime-types.

A map of file extensions to mime-types.
sourceraw docstring

ext-mime-typeclj

(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.

Get the mimetype from the filename extension. Takes an optional map of
extensions to mimetypes that overrides values in the default-mime-types map.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close