mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
r should be here anyway...
This commit is contained in:
parent
ea02c5e073
commit
0629f011e8
@ -40,8 +40,7 @@ class Parser(object):
|
|||||||
s = "".join(buf)
|
s = "".join(buf)
|
||||||
i = s.find("\r\n\r\n")
|
i = s.find("\r\n\r\n")
|
||||||
if i != -1:
|
if i != -1:
|
||||||
if i > 0:
|
r = s[:i]
|
||||||
r = s[:i]
|
|
||||||
pos = i+4
|
pos = i+4
|
||||||
return self.finalize_headers(headers, r, pos)
|
return self.finalize_headers(headers, r, pos)
|
||||||
return -1
|
return -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user