On Apr 10, 2009, at 3:34 PM, Mark Sapiro wrote:
My response here is probably OT, but RFC 822 is the only RFC that talksabout folding by *inserting* whitespace. both RFC 2822 and RFC 5322 say folding is done by inserting <CRLF> ahead of *existing* whitespace and unfolding is done by removing the <CRLF> (only). Thus, thequestion of whether folding was with <tab> or <space> should not arise.Of course, in terms of trying to reconstruct the original on_the_wire message exactly, the question of where the folding occurred is still relevant. but if we're doing the right thing, the question of what character should follow the <CRLF> is not.
+1I /think/ the email package in Python 3.0 DTRT here, or well, at least does better than the one in 2.6.
Barry
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Email-SIG mailing list Email-SIG@python.org Your options: http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com