Module Bogue.File.Mime

module Mime: sig .. end

Mimetype information


val type_string : string -> string

type_string filename returns the mimetype string of filename, obtained by inspecting only the filename extension (no inspection of the file is done), using this table. For instance: "image/png".

The function returns "" if no mimetype is found.