Message190662
My preliminary thought (and I haven't checked the code yet to make sure this will actually work), is that under the new email policies we are dealing with full-blown header objects, meaning that they can know the header name they represent. This should theoretically make it possible to have a 'create header' function to create a header object (there may be one already...it's been way too long since I've worked on this code) and then have:
message[:0] = [my_new_header]
do the right thing. As well as all the other list methods working as expected. We'd also want a 'find_header' method that takes the header name and returns the index of the header in the list.
But, as I say, this is just a preliminary thought, it needs careful consideration before we decide to actually do something. |
|
Date |
User |
Action |
Args |
2013-06-05 14:26:38 | r.david.murray | set | recipients:
+ r.david.murray, barry, kbandla |
2013-06-05 14:26:38 | r.david.murray | set | messageid: <1370442398.57.0.883606529011.issue18139@psf.upfronthosting.co.za> |
2013-06-05 14:26:38 | r.david.murray | link | issue18139 messages |
2013-06-05 14:26:38 | r.david.murray | create | |
|