package magic-mime

  1. Overview
  2. Docs
Map filenames to common MIME types

Install

Dune Dependency

Authors

Maintainers

Sources

magic-mime-1.1.0.tbz
sha256=b91950ef97984948d318d1a330318748e6535146fb7cf5d8b1043df06f24d467
md5=341ab5133c2e17ca645f23a0149025d1

doc/magic-mime/Magic_mime/index.html

Module Magic_mimeSource

Convert file extensions to MIME types

Sourceval lookup : string -> string

lookup filename will return a MIME type for the full filename supplied by examining its extension and look it up by using Mime_types.map_extension or Mime_Types.map_file if there is no file extension present.

OCaml

Innovation. Community. Security.