[Email-SIG] Dropping bytes "support" in json

Barry Warsaw barry at python.org
Fri Apr 10 21:39:37 CEST 2009


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  
> talks
> about 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, the
> question 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.

+1

I /think/ the email package in Python 3.0 DTRT here, or well, at least  
does better than the one in 2.6.

Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 304 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/email-sig/attachments/20090410/b93af918/attachment.pgp>


More information about the Email-SIG mailing list