Part of RFC 822 ignored by email module

Bob Kline bkline at rksystems.com
Thu Jan 20 16:25:52 EST 2011


On 1/20/2011 3:48 PM, Martin Gregorie wrote:
> That's only a problem if your code cares about the composition of the
> whitespace and this, IMO is incorrect behaviour. When the separator
> between syntactic elements in a header is 'whitespace' it should not
> matter what combination of newlines, tabs and spaces make up the
> whitespace element.

That would be true for what the RFC calls "structured" fields, but not 
for the others (such as the Subject header).

-- 
Bob Kline
http://www.rksystems.com
mailto:bkline at rksystems.com




More information about the Python-list mailing list