diff options
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/Request.py | 5 | ||||
-rw-r--r-- | pyload/plugins/network/CurlRequest.py | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pyload/plugins/Request.py b/pyload/plugins/Request.py index 5652b6425..8e8e0cc6b 100644 --- a/pyload/plugins/Request.py +++ b/pyload/plugins/Request.py @@ -38,11 +38,6 @@ 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 diff --git a/pyload/plugins/network/CurlRequest.py b/pyload/plugins/network/CurlRequest.py index 4630403df..e5adc8be1 100644 --- a/pyload/plugins/network/CurlRequest.py +++ b/pyload/plugins/network/CurlRequest.py @@ -64,6 +64,11 @@ class CurlRequest(Request): # TODO: addAuth, addHeader + @property + def http(self): + print "Deprecated usage of req.http, just use req instead" + return self + def initContext(self): self.initHandle() |