From 8b63ee9bc39edc7d62e563af02c3a1ef77ae4437 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 29 Jun 2015 01:12:14 +0200 Subject: [PATCH] Minor update for #1281 --- 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 df20fdcc8..2eba19026 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -289,7 +289,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls): line = line.strip('\r') match = re.search(r"\A(%s) (.+) HTTP/[\d.]+\Z" % "|".join(getPublicTypeMembers(HTTPMETHOD, True)), line) if not method else None - if len(line) == 0 and method and method != HTTPMETHOD.GET and data is None: + if len(line.strip()) == 0 and method and method != HTTPMETHOD.GET and data is None: data = "" params = True