summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-21 17:45:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-21 17:45:53 +0200
commit5761295a4d0badffc5785453112aee8b328aa0dd (patch)
treecf4d743142fc695c730863203a2e227dcfc97c04 /pyload/plugins
parentMoved new plugin to pyload (diff)
downloadpyload-5761295a4d0badffc5785453112aee8b328aa0dd.tar.xz
correctly unset http referer
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/network/CurlRequest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/network/CurlRequest.py b/pyload/plugins/network/CurlRequest.py
index 4716abc3a..182553ed1 100644
--- a/pyload/plugins/network/CurlRequest.py
+++ b/pyload/plugins/network/CurlRequest.py
@@ -173,7 +173,7 @@ class CurlRequest(Request):
if referer and self.lastURL:
self.c.setopt(pycurl.REFERER, str(self.lastURL))
else:
- self.c.setopt(pycurl.REFERER, "")
+ self.c.setopt(pycurl.HTTPHEADER, ["Referer:"])
if cookies:
for c in self.cj.output().splitlines():