r should be here anyway...

This commit is contained in:
benoitc 2010-02-28 22:55:37 +01:00
parent ea02c5e073
commit 0629f011e8

View File

@ -40,8 +40,7 @@ class Parser(object):
s = "".join(buf)
i = s.find("\r\n\r\n")
if i != -1:
if i > 0:
r = s[:i]
r = s[:i]
pos = i+4
return self.finalize_headers(headers, r, pos)
return -1