Copyright | Copyright (C) 2008 Uwe Schmidt |
---|---|
License | MIT |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Text.XML.HXT.DOM.MimeTypes
Description
mime type related data and functions
Documentation
type MimeTypeTable = Map String String #
application_xhtml :: String #
application_xml :: String #
application_xml_external_parsed_entity :: String #
application_xml_dtd :: String #
text_plain :: String #
text_xml_external_parsed_entity :: String #
isTextMimeType :: String -> Bool #
isHtmlMimeType :: String -> Bool #
isXmlMimeType :: String -> Bool #
extensionToMimeType :: String -> MimeTypeTable -> String #
readMimeTypeTable :: FilePath -> IO MimeTypeTable #
parseMimeTypeTable :: String -> [(String, String)] #