summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-28 23:00:57 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-28 23:00:57 +0100
commit9908e7c4841b3a109ee28575052c489728d59f0f (patch)
treeada58d04b8e3ec0b9141f26722360c6352d4a109 /module/network
parentchecksum is now optional (diff)
downloadpyload-9908e7c4841b3a109ee28575052c489728d59f0f.tar.xz
UploadedTo indirect download fix
Diffstat (limited to 'module/network')
-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