mime-0.3.3.2: Working with MIME types.

Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sigbjorn.finne@gmail.com>
Safe HaskellSafe-Infered

Codec.MIME.Type

Description

Representing MIME types and values.

Synopsis

Documentation

data Type Source

Constructors

Type 

Instances

nullType :: TypeSource

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

data MIMEPair Source

a (type, subtype) MIME pair.

Constructors

MIMEPair String SubType 

Instances

type SubType = StringSource

default subtype representation.

type TextType = SubTypeSource

subtype for text content; currently just a string.

data Multipart Source

Constructors

Alternative 
Byteranges 
Digest 
Encrypted 
FormData 
Mixed 
Parallel 
Related 
Signed 
Extension String

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

OtherMulti String