On 4/11/2011 2:48 PM, R. David Murray wrote:
For the curious, I just posted a writeup of the process that
produced the header folding algorithm rewrite on my blog:

http://www.bitdance.com/blog/2011/04/11_01_Email6_Rewriting_Header_Folding/
Interesting!

[2] <http://www.bitdance.com/blog/2011/04/11_01_Email6_Rewriting_Header_Folding/#id2>There may also be cases where whitespace does /not/ mark a valid folding point. So for email6 the folding API will further need to provide a way for the specific header to indicate these points before folding. The simplest scheme is probably to replace the non-folding whitespace with marker characters, fold the header, and then re-convert the marker characters to the original whitespace.

Another alternative may be to allow the header access to the Accumulator, and let it emit chunks directly into the accumulator. This would save reparsing.

_______________________________________________
Email-SIG mailing list
Email-SIG@python.org
Your options: 
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com

Reply via email to