mime-0.4.0.2: Working with MIME types.

Copyright(c) 2006-2009, Galois, Inc.
LicenseBSD3
MaintainerSigbjorn Finne <sigbjorn.finne@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Codec.MIME.Type

Description

Representing MIME types and values.

Synopsis

Documentation

data MIMEParam

Constructors

MIMEParam 

Fields

paramName :: Text
 
paramValue :: Text
 

data Type

Constructors

Type 

Instances

nullType :: Type

The null MIME record type value; currently a text/plain.

data MIMEPair

a (type, subtype) MIME pair.

Constructors

MIMEPair Text SubType 

Instances

type SubType = Text

default subtype representation.

type TextType = SubType

subtype for text content; currently just a string.

data Multipart

Constructors

Alternative 
Byteranges 
Digest 
Encrypted 
FormData 
Mixed 
Parallel 
Related 
Signed 
Extension Text

e.g., 'x-foo' (i.e., includes the 'x-' bit)

OtherMulti Text 

type Content = Text