[Python-bugs-list] [ python-Bugs-633527 ] HeaderParseError: no newline

noreply@sourceforge.net noreply@sourceforge.net
Mon, 04 Nov 2002 15:08:36 -0800


Bugs item #633527, was opened at 2002-11-04 16:07
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=633527&group_id=5470

Category: Python Library
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason R. Mastaler (jasonrm)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: HeaderParseError: no newline

Initial Comment:
This is for email 2.4.3.

When trying to parse a message which lacks
a newline separating the header and body,
email throws a HeaderParseError:

email.Errors.HeaderParseError: Not a header, not a 
continuation: ``foobar.''

However, the rfc822 package is able to correctly
parse such a message into separate header and 
body portions.


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

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