This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author msapiro
Recipients msapiro
Date 2020-10-16.19:24:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602876242.42.0.187869890423.issue42054@roundup.psfhosted.org>
In-reply-to
Content
With Policy = email.policy.default, there are handlers for get_content() only for content types 'text', 'audio', 'image', 'video', 'application', 'message/rfc822', 'message/external-body' and 'message'. While these are the only main types listed in RFC 6838, RFC 8081 adds 'font' and RFC 2077 defines 'model' there are several registered 'font' and 'model' types at https://www.iana.org/assignments/media-types/media-types.xhtml

It would be good if get_content() returned content, even if only raw bytes, for those types.
History
Date User Action Args
2020-10-16 19:24:02msapirosetrecipients: + msapiro
2020-10-16 19:24:02msapirosetmessageid: <1602876242.42.0.187869890423.issue42054@roundup.psfhosted.org>
2020-10-16 19:24:02msapirolinkissue42054 messages
2020-10-16 19:24:02msapirocreate