Roundup Robot added the comment:
New changeset 29ba76f5c3dc by R David Murray in branch 'default':
#21083: add get_content_disposition method to email.message.
https://hg.python.org/cpython/rev/29ba76f5c3dc
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
Thanks, Abhilash.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
___
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
___
___
Abhilash Raj added the comment:
I read the discussion on issue #21079. Does this issue still needs a patch? If
yes I am willing to write one.
--
nosy: +abhilash.raj
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
R. David Murray added the comment:
Yes, that would be great.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
___
___
Python-bugs-list
Abhilash Raj added the comment:
I have attached my patch. Reviews?
--
keywords: +patch
Added file: http://bugs.python.org/file35177/c_d.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
R. David Murray added the comment:
Looks pretty good.
The docs should say that the value of header is returned, and should also
mentioned that the value is lower cased. You should also add a 'versionadded'
directive, and for bonus points an entry in the whatsnew document for 3.5.
Also, all
Abhilash Raj added the comment:
I have updated the patch. The header with mime parameter 'filename' in addition
to header value is already added, will that not be enough?
--
Added file: http://bugs.python.org/file35178/c_d-revised.patch
___
Python
R. David Murray added the comment:
Looks good, thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
___
___
Python-bugs-list mailing
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
10 matches
Mail list logo