[Email-SIG] API for Header objects [was: Dropping bytes "support" in json]

Stephen J. Turnbull stephen at xemacs.org
Fri Apr 17 17:13:06 CEST 2009


R. David Murray writes:

 > put Header objects into it.  I don't think the "overhead" of
 > having to do
 > 
 >      message['Subject'] = Header('subject string')

Hm.  Should a Header know which header it is?  Ie, should that be

    message['Subject'] = Header('subject', 'subject string')

?  (I assume you would be less than in love with having the assignment
magically stuffing "Subject" into the Header as it gets assigned.)


More information about the Email-SIG mailing list