diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-21 17:45:39 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-21 17:45:53 +0200 |
commit | 5761295a4d0badffc5785453112aee8b328aa0dd (patch) | |
tree | cf4d743142fc695c730863203a2e227dcfc97c04 /pyload/plugins | |
parent | Moved new plugin to pyload (diff) | |
download | pyload-5761295a4d0badffc5785453112aee8b328aa0dd.tar.xz |
correctly unset http referer
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/network/CurlRequest.py | 2 |
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(): |