From 1fe83a93650db27d7ecf4c3476ce2e00f994513e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 7 Aug 2011 20:52:35 +0200 Subject: closed #359 --- module/network/HTTPRequest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/network') diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py index 315cb7d23..fb89334c6 100644 --- a/module/network/HTTPRequest.py +++ b/module/network/HTTPRequest.py @@ -168,8 +168,7 @@ class HTTPRequest(): self.header = "" - if self.headers: - self.c.setopt(pycurl.HTTPHEADER, self.headers) + self.c.setopt(pycurl.HTTPHEADER, self.headers) if just_header: self.c.setopt(pycurl.FOLLOWLOCATION, 0) -- cgit v1.2.3