From 83804e24218b40c951cc876388b6da46ff0e5a02 Mon Sep 17 00:00:00 2001 From: benoitc Date: Fri, 5 Mar 2010 01:11:00 +0100 Subject: [PATCH] follow spec --- gunicorn/http/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/http/parser.py b/gunicorn/http/parser.py index dfc535ea..5858ab72 100644 --- a/gunicorn/http/parser.py +++ b/gunicorn/http/parser.py @@ -56,7 +56,7 @@ class Parser(object): _headers = {} hname = "" for line in lines: - if line.startswith("\t"): + if line.startswith("\t") or line.startswith(" "): headers[hname] += line.strip() else: try: