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 = {}
|
_headers = {}
|
||||||
hname = ""
|
hname = ""
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if line == "\t":
|
if line.startswith("\t"):
|
||||||
headers[hname] += line.strip()
|
headers[hname] += line.strip()
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user