Codec.MIME.Parse

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 #

parseMIMEType :: Text -> Maybe Type #

parseMIMEMessage :: Text -> MIMEValue #

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

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

parseContentType :: Text -> Maybe Type #

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

normalizeCRLF :: Text -> Text #