From 9908e7c4841b3a109ee28575052c489728d59f0f Mon Sep 17 00:00:00 2001 From: mkaay Date: Mon, 28 Dec 2009 23:00:57 +0100 Subject: UploadedTo indirect download fix --- module/network/Request.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/network/Request.py') 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 -- cgit v1.2.3