hails-0.1.1: IFC enforcing web platform framework

Safe HaskellTrustworthy

Hails.IterIO.Mime

Synopsis

Documentation

systemMimeMap :: String -> ByteStringSource

Given a file extension (e.g., "hs") return its MIME type (e.g., "text/x-haskell"). If there is no recognized MIME type (or none of the default paths exist), this function returns "application/octet-stream"