[Python-bugs-list] [ python-Bugs-513683 ] email.Parser uses LF as line sep.

noreply@sourceforge.net noreply@sourceforge.net
Wed, 06 Feb 2002 01:35:28 -0800


Bugs item #513683, was opened at 2002-02-06 01:35
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=513683&group_id=5470

Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Takashi Hooper (bthooper)
Assigned to: Nobody/Anonymous (nobody)
Summary: email.Parser uses LF as line sep.

Initial Comment:
I'm not sure what the best solution is for this, but some email 
clients sent multipart MIME messages using CRLF as the line 
separator instead of just LF, which seems to be assumed in 
email.Parser.Parser._parsebody. Maybe I'm reading the RFC 
wrong, but it seems like it says that lines of a mail message should be 
separated using CRLF (although I'm sure many clients don't do that 
either)...


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=513683&group_id=5470