mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix header parsing. spotted by MattCampbell on irc. thx
This commit is contained in:
parent
7f0b689851
commit
176ad162b1
@ -58,7 +58,7 @@ class Parser(object):
|
||||
_headers = {}
|
||||
hname = ""
|
||||
for line in lines:
|
||||
if line == "\t":
|
||||
if line.startswith("\t"):
|
||||
headers[hname] += line.strip()
|
||||
else:
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user