summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-20 13:53:19 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-20 13:53:19 +0200
commit75b44c9f5f19ec9403c08550d44013c3c23a3d2e (patch)
tree4e9704ae74194e453840b76cb2d5d414b7741ff7 /pyload/plugins
parenttry to fix bug when refreshing page (diff)
downloadpyload-75b44c9f5f19ec9403c08550d44013c3c23a3d2e.tar.xz
small fixes
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/Request.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyload/plugins/Request.py b/pyload/plugins/Request.py
index 8e8e0cc6b..5652b6425 100644
--- a/pyload/plugins/Request.py
+++ b/pyload/plugins/Request.py
@@ -38,6 +38,11 @@ class Request(object):
# TODO: content encoding? Could be handled globally
+ @property
+ def http(self):
+ print "Deprecated usage of req.http, just use req instead"
+ return self
+
def initContext(self):
""" Should be used to initialize everything from given context and options """
pass