Module Naboris.MimeTypes

Less commonly used.

val getExtension : string -> string

Exposed only for unit testing

val getMimeType : string -> string

Given a filename returns content type. Defaults to "text/plain" if type cannot be inferred.