On Oct 08, 2010, at 12:37 PM, Stephen J. Turnbull wrote:

>Ouch.  RFC 822 line wrapping is a bytes->bytes transformation, and the
>client shouldn't see it at all unless it inspects the wire format.

Header wrapping sucks even more because it's supposed to take the semantic
context into account, which means that a generic Header wrapping algorithm
cannot work for everything.  E.g. Received: headers are supposed to wrap after
the semicolon.  The current email package does a pretty poor job of emulating
this requirement, though it often gets it right enough.  David has plans for
addressing this problem.

-Barry

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to