[New-bugs-announce] [issue21083] Add get_content_disposition() to email.message.Message

Brandon Rhodes report at bugs.python.org
Fri Mar 28 12:13:22 CET 2014


New submission from Brandon Rhodes:

"Content-Disposition is an optional header field. In its absence, the MUA may use whatever presentation method it deems suitable." — RFC 2183

The email.message.Message class should gain a get_content_disposition() method with the three possible return values 'inline', 'attachment', and None so that email clients can easily distinguish between the three states described in the RFC.

See also the discussion at http://bugs.python.org/issue21079

----------
components: email
messages: 215036
nosy: barry, brandon-rhodes, r.david.murray
priority: normal
severity: normal
status: open
title: Add get_content_disposition() to email.message.Message
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21083>
_______________________________________


More information about the New-bugs-announce mailing list