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