diff options
author | 2011-05-31 22:18:50 +0200 | |
---|---|---|
committer | 2011-05-31 22:18:50 +0200 | |
commit | f417ec942bab9ac3999a71808b8a0a1c09fb1037 (patch) | |
tree | ead0bafb4a41c1df45ad6737fa46d60396e2c274 /module/plugins/Plugin.py | |
parent | automatically try to decode all request according to http header (diff) | |
download | pyload-f417ec942bab9ac3999a71808b8a0a1c09fb1037.tar.xz |
no autodecode , it may break some plugins
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index b27b99170..d8bd3bcd0 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -306,8 +306,8 @@ class Plugin(object): res = self.req.load(url, get, post, ref, cookies, just_header) if utf8: - #@TODO parse header and decode automatically when needed - res = decode(res) + res = self.req.http.decodeResponse(res) + #res = decode(res) if self.core.debug: from inspect import currentframe |