On Oct 8, 2009, at 3:33 AM, Glenn Linderman wrote:
Not sure that non-text MIME parts need to support being returned as strings.
I don't think they do. But e.g. an image/* MIME part should support returning the decoded image data.
So there must be APIs that support obtaining text and (same or different) APIs that support obtaining bytes for a given MIME part. However, I think it is proper that a MIME part that is not flagged as text/* might produce an error if asked for as text.
+1 -Barry
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Email-SIG mailing list [email protected] Your options: http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com
