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-Inferred
LanguageHaskell98

Codec.MIME.Type

Description

Representing MIME types and values.

Synopsis

Documentation

data MIMEParam #

Constructors

MIMEParam 

Fields

Instances

Instances details
Show MIMEParam # 
Instance details

Defined in Codec.MIME.Type

Eq MIMEParam # 
Instance details

Defined in Codec.MIME.Type

Ord MIMEParam # 
Instance details

Defined in Codec.MIME.Type

data Type #

Constructors

Type 

Instances

Instances details
Show Type # 
Instance details

Defined in Codec.MIME.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Eq Type # 
Instance details

Defined in Codec.MIME.Type

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Ord Type # 
Instance details

Defined in Codec.MIME.Type

Methods

compare :: Type -> Type -> Ordering #

(<) :: Type -> Type -> Bool #

(<=) :: Type -> Type -> Bool #

(>) :: Type -> Type -> Bool #

(>=) :: Type -> Type -> Bool #

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

nullType :: Type #

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

data MIMEPair #

a (type, subtype) MIME pair.

Constructors

MIMEPair Text SubType 

Instances

Instances details
Eq MIMEPair # 
Instance details

Defined in Codec.MIME.Type

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 

Instances

Instances details
Show Multipart # 
Instance details

Defined in Codec.MIME.Type

Eq Multipart # 
Instance details

Defined in Codec.MIME.Type

Ord Multipart # 
Instance details

Defined in Codec.MIME.Type

type Content = Text #

data MIMEValue #

Instances

Instances details
Show MIMEValue # 
Instance details

Defined in Codec.MIME.Type

Eq MIMEValue # 
Instance details

Defined in Codec.MIME.Type

data MIMEContent #

Constructors

Single Content 
Multi [MIMEValue] 

Instances

Instances details
Show MIMEContent # 
Instance details

Defined in Codec.MIME.Type

Eq MIMEContent # 
Instance details

Defined in Codec.MIME.Type

data Disposition #

Constructors

Disposition 

Instances

Instances details
Show Disposition # 
Instance details

Defined in Codec.MIME.Type

Eq Disposition # 
Instance details

Defined in Codec.MIME.Type

data DispType #

Instances

Instances details
Show DispType # 
Instance details

Defined in Codec.MIME.Type

Eq DispType # 
Instance details

Defined in Codec.MIME.Type

data DispParam #

Instances

Instances details
Show DispParam # 
Instance details

Defined in Codec.MIME.Type

Eq DispParam # 
Instance details

Defined in Codec.MIME.Type