Lucu-0.3: HTTP Daemonic Library
Source code
Contents
Index
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
)]
Instances
Eq
MIMEType
Read
MIMEType
Show
MIMEType
parseMIMEType
::
String
->
MIMEType
Source
Parse
MIMEType
from a
String
. This function throws an exception for parse error.
Produced by
Haddock
version 2.4.2