summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-07 20:52:35 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-07 20:52:35 +0200
commit1fe83a93650db27d7ecf4c3476ce2e00f994513e (patch)
treeadc20c882b74421176a3d56446b9cf1589c9d789 /module/network
parentclosed #375 (diff)
downloadpyload-1fe83a93650db27d7ecf4c3476ce2e00f994513e.tar.xz
closed #359
Diffstat (limited to 'module/network')
-rw-r--r--module/network/HTTPRequest.py3
1 files changed, 1 insertions, 2 deletions
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)