mime-0.3.0: Working with MIME types.

Codec.MIME.Type

Description

  • License : BSD3

Maintainer : Sigbjorn Finne sof@galois.com Stability : unstable Portability : GHC

Representing MIME types and values.

Synopsis

Documentation

data Type Source

Constructors

Type 

Instances

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