Message214969
Most attachments (in my inbox, at least) specify a filename, and thus
have a Content-Disposition header that looks like:
Content-Disposition: attachment; filename="attachment.gz"
In fact, this sample header was generated by the new add_attachment()
method in Python itself. Unfortunately, the is_attachment property
currently does this test:
c_d.lower() == 'attachment'
Which means that it returns False for almost all attachments in my
email archive. I believe that the test should instead be:
c_d.split(';', 1)[0].lower() == 'attachment' |
|
Date |
User |
Action |
Args |
2014-03-27 17:12:10 | brandon-rhodes | set | recipients:
+ brandon-rhodes, barry, r.david.murray |
2014-03-27 17:12:10 | brandon-rhodes | set | messageid: <1395940330.14.0.456041860337.issue21079@psf.upfronthosting.co.za> |
2014-03-27 17:12:10 | brandon-rhodes | link | issue21079 messages |
2014-03-27 17:12:09 | brandon-rhodes | create | |
|