◐ Shell
clean mode source ↗

Message 183467 - Python tracker

Aren't the folding rules are the same?  The character set rules are different, I think, but the email package is going to be flexible in that regard.

The email package also uses a data structure that is not a python dictionary (it is actually a list with an extra dict-like interface), and its features may well be useful for handling http headers.

But you are right, we are wandering off topic :)