mime-0.4.0.2: Working with MIME types.

Copyright | (c) 2006-2009, Galois, Inc.
License | BSD3
Maintainer | Sigbjorn Finne <sigbjorn.finne@gmail.com>
Stability | provisional
Portability | portable
Safe Haskell | None
Language | Haskell98

Codec.MIME.Parse

Description

Parsing MIME content.

# Documentation

parseMIMEBody :: [MIMEParam] -> Text -> MIMEValue Source

parseMIMEType :: Text -> Maybe Type Source

parseMIMEMessage :: Text -> MIMEValue Source

parseHeaders :: Text -> ([MIMEParam], Text) Source

parseMultipart :: Type -> Text -> (MIMEValue, Text) Source

parseContentType :: Text -> Maybe Type Source

splitMulti :: Text -> Text -> ([MIMEValue], Text) Source

normalizeCRLF :: Text -> Text Source