package magic-mime

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Database of file extensions to MIME types from RFC2045 onwards.

val map_extension : string -> string

map_extension e converts the file extension e into a MIME type, defaulting to application/octet-stream if it is unknown.