From 75b44c9f5f19ec9403c08550d44013c3c23a3d2e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 20 Jul 2013 13:53:19 +0200 Subject: small fixes --- pyload/plugins/Request.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyload/plugins/Request.py') 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 -- cgit v1.2.3