This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

Ideas for a RFC 6532 API

Policy

_header_value_parser

Steps

  1. change the Header class in header.py to make the default charset changeable (add '_internal_charset' property)
  2. NOT SURE ABOUT THIS: 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: create an inherited class with the _unicode_header_map as default.

...

  1. create a policy making use of the above


2026-02-14 16:08