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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21083>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to