From 12870e6ff3af04d6f510df4c41ac636be0e29f11 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 30 May 2013 11:42:27 +0200 Subject: [PATCH] Minor fix --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 137176323..4183dcf89 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1200,7 +1200,7 @@ def _setHTTPExtraHeaders(): conf.headers = conf.headers.split("\n") if "\n" in conf.headers else conf.headers.split("\\n") for headerValue in conf.headers: - if headerValue.count(':') > 1: + if headerValue.count(':') >= 1: header, value = (_.lstrip() for _ in headerValue.split(":", 1)) if header and value: