Message215002
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. |
|
Date |
User |
Action |
Args |
2014-03-27 23:27:34 | r.david.murray | set | recipients:
+ r.david.murray, barry, brandon-rhodes |
2014-03-27 23:27:34 | r.david.murray | set | messageid: <1395962854.02.0.219889355912.issue21079@psf.upfronthosting.co.za> |
2014-03-27 23:27:34 | r.david.murray | link | issue21079 messages |
2014-03-27 23:27:33 | r.david.murray | create | |
|