Lucu-0.3: HTTP Daemonic LibrarySource codeContentsIndex
Network.HTTP.Lucu.MIMEType
Description
Manipulation of MIME Types.
Synopsis
data MIMEType = MIMEType {
mtMajor :: !String
mtMinor :: !String
mtParams :: ![(String, String)]
}
parseMIMEType :: String -> MIMEType
Documentation
data MIMEType Source
MIMEType "major" "minor" [("name", "value")] represents "major/minor; name=value".
Constructors
MIMEType
mtMajor :: !String
mtMinor :: !String
mtParams :: ![(String, String)]
show/hide Instances
parseMIMEType :: String -> MIMETypeSource
Parse MIMEType from a String. This function throws an exception for parse error.
Produced by Haddock version 2.4.2