Skip to main content Module mime Copy item path Source ContentDisposition Parsed MIME Content-Disposition header with disposition type and parameters. ContentType Parsed MIME Content-Type header with type, subtype, and parameters. MimeInfo Combined MIME content-type and transfer-encoding information for a message part. decode_base64 Decodes base64-encoded data, ignoring whitespace. decode_body Decodes a MIME message body using its content-type and transfer-encoding. decode_quoted_printable Decodes quoted-printable encoded data, handling soft line breaks and _ as space. decode_uuencode Decodes uuencoded data, returning None if no valid uuencode block is found. parse_mime_info Extracts MIME info (content-type and transfer-encoding) from parsed headers. process_mime_body Processes a MIME message body, returning decoded text and detected charset. unflow_text RFC 3676: Unwrap format=flowed text
Lines ending with a space (SP) are joined with the following line.
Lines beginning with “– “ are signature separators (never flowed).