diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-07 20:52:35 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-07 20:52:35 +0200 |
commit | 1fe83a93650db27d7ecf4c3476ce2e00f994513e (patch) | |
tree | adc20c882b74421176a3d56446b9cf1589c9d789 /module/network | |
parent | closed #375 (diff) | |
download | pyload-1fe83a93650db27d7ecf4c3476ce2e00f994513e.tar.xz |
closed #359
Diffstat (limited to 'module/network')
-rw-r--r-- | module/network/HTTPRequest.py | 3 |
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) |