purebred-email-0.1.0.0: types and parser for email messages (including MIME)

Safe HaskellNone
LanguageHaskell2010

Data.MIME.TransferEncoding

Description

MIME content transfer encodings.

Synopsis

Documentation

transferDecodedBytes :: (HasTransferEncoding a, AsTransferEncodingError e) => Getter a (Either e ByteString) Source #

Decode the object according to the declared content transfer encoding.

transferEncodings :: [(CI ByteString, TransferEncoding)] Source #

Get the Content-Transfer-Encoding for an entity. Defaults to 7bit (RFC 2045 §6.1) if the header is not present. Fails on unrecognised values.