Re: Dropping bytes "support" in json
Barry Warsaw <[email protected]>
| Newsgroups | gmane.comp.python.mime.devel |
|---|---|
| Message-ID | <[email protected]> |
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
PGP.sig
(application/pgp-signature, 304 B) - not displayed