This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mgdelmonte
Recipients icordasc, mgdelmonte
Date 2015-06-02.15:47:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks.  Also I meant to have said, " terminate only on a *blank* non-header non-comment line, in accordance with RFC 2616 (and 7230)."

I note that the RFCs require CRLF to terminate but in my experience you can get all manner of "blank" lines, so accepting len(line.strip())==0 is going to accommodate servers that give CRCR or LFLF or (and I have seen this) LFCRLF.
Date User Action Args
2015-06-02 15:47:17mgdelmontesetrecipients: + mgdelmonte, icordasc
2015-06-02 15:47:17mgdelmontesetmessageid: <>
2015-06-02 15:47:17mgdelmontelinkissue24363 messages
2015-06-02 15:47:17mgdelmontecreate