erf
v0.1.2
Search documentation of erf
Settings
erf_static
(erf v0.1.2)
View Source
erf
's static files handler utility module.
Summary
Functions
mime_type(Extension)
Functions
mime_type(Extension)
-spec
mime_type(Extension) -> MimeType when Extension ::
binary
(), MimeType ::
binary
().
Returns the MIME type for the given file extension. https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types