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 r.david.murray
Recipients barry, brandon-rhodes, r.david.murray
Date 2014-03-27.23:27:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395962854.02.0.219889355912.issue21079@psf.upfronthosting.co.za>
In-reply-to
Content
Well, that's why is_attachment exists.  I wouldn't be averse to adding get_content_disposition if nobody objects, though.

The attributes are on the headers because the data really is attributes of the parsed headers, but the more useful user API is the methods on the message object those headers are part of.  Originally I thought the header attributes could replace the message object methods, but the more I actually used that interface the less I liked it :).  So now I consider them more of an implementation or lower-level-of-the-model detail.
History
Date User Action Args
2014-03-27 23:27:34r.david.murraysetrecipients: + r.david.murray, barry, brandon-rhodes
2014-03-27 23:27:34r.david.murraysetmessageid: <1395962854.02.0.219889355912.issue21079@psf.upfronthosting.co.za>
2014-03-27 23:27:34r.david.murraylinkissue21079 messages
2014-03-27 23:27:33r.david.murraycreate