Differences between revisions 1 and 2
Revision 1 as of 2014-05-08 15:05:54
Size: 419
Comment:
Revision 2 as of 2014-05-08 15:10:49
Size: 476
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 1. change the Header class in header.py to make the default charset choosable  1. change the Header class in header.py to make the default charset choosable (adding 'default_charset' keyarg to __init__ and append)

Ideas for an RFC 6532 API

Step 1:

  1. change the Header class in header.py to make the default charset choosable (adding 'default_charset' keyarg to init and append)

  2. create new classes in the headerregistry.py (e.g. UnicodeAddressHeader as inheritor of AddressHeader

  3. provide an alternative header map (e.g. _unicode_header_map) using the new classes
  4. HeaderRegistry: either create an inherited class with the _unicode_header_map as default.

GSoC14_email (last edited 2014-06-03 13:24:48 by MarcAndreLemburg)

Unable to edit the page? See the FrontPage for instructions.