Author mgdelmonte
Recipients icordasc, mgdelmonte
Date 2015-06-02.15:47:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433260037.81.0.616133132394.issue24363@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks.  Also I meant to have said, "...to 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.
History
Date User Action Args
2015-06-02 15:47:17mgdelmontesetrecipients: + mgdelmonte, icordasc
2015-06-02 15:47:17mgdelmontesetmessageid: <1433260037.81.0.616133132394.issue24363@psf.upfronthosting.co.za>
2015-06-02 15:47:17mgdelmontelinkissue24363 messages
2015-06-02 15:47:17mgdelmontecreate