summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/network/CurlRequest.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/network/CurlRequest.py')
-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 775c98522..b7e37900b 100644
--- a/pyload/plugins/network/CurlRequest.py
+++ b/pyload/plugins/network/CurlRequest.py
@@ -152,7 +152,6 @@ class CurlRequest(Request):
url = "%s?%s" % (url, get)
self.c.setopt(pycurl.URL, url)
- self.lastURL = url
if post:
self.c.setopt(pycurl.POST, 1)
@@ -222,6 +221,7 @@ class CurlRequest(Request):
rep = self.getResponse()
self.c.setopt(pycurl.POSTFIELDS, "")
+ self.lastURL = url
self.lastEffectiveURL = self.c.getinfo(pycurl.EFFECTIVE_URL)
self.code = self.verifyHeader()