hxt-9.3.1.22: A collection of tools for processing XML with Haskell.
CopyrightCopyright (C) 2008 Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.XML.HXT.DOM.MimeTypes

Description

mime type related data and functions

Documentation

type MimeTypeTable = Map String String #

application_xml :: String #

text_html :: String #

text_pdf :: String #

text_plain :: String #

text_xdtd :: String #

text_xml :: String #

isTextMimeType :: String -> Bool #

isHtmlMimeType :: String -> Bool #

isXmlMimeType :: String -> Bool #

extensionToMimeType :: String -> MimeTypeTable -> String #

parseMimeTypeTable :: String -> [(String, String)] #