summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
Diffstat (limited to 'pyload')
-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():