summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-xmodule/network/Request.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index d1280f591..9155185fd 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -154,6 +154,7 @@ class Request:
self.pycurl.setopt(pycurl.NOPROGRESS, 1)
self.pycurl.setopt(pycurl.NOBODY, 1)
self.pycurl.perform()
+ self.lastEffectiveURL = self.pycurl.getinfo(pycurl.EFFECTIVE_URL)
self.pycurl.setopt(pycurl.NOPROGRESS, 0)
self.pycurl.setopt(pycurl.NOBODY, 0)
return self.header