From 0629f011e82acbfeba2e64b382509e1bfca66798 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sun, 28 Feb 2010 22:55:37 +0100 Subject: [PATCH] r should be here anyway... --- gunicorn/http/parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gunicorn/http/parser.py b/gunicorn/http/parser.py index cb8c9bef..466c810c 100644 --- a/gunicorn/http/parser.py +++ b/gunicorn/http/parser.py @@ -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