diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-19 21:10:04 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-19 21:10:04 +0200 |
commit | 8c94f8e7214d9ee0a131584e672ae83277303f2b (patch) | |
tree | b43da702fe8888883d18eaf622e9a170d4e4410b /module/network/HTTPChunk.py | |
parent | fix in unrar plugin (diff) | |
download | pyload-8c94f8e7214d9ee0a131584e672ae83277303f2b.tar.xz |
use correct encoding header parsing
Diffstat (limited to 'module/network/HTTPChunk.py')
-rw-r--r-- | module/network/HTTPChunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py index 0fee75682..431e5b15b 100644 --- a/module/network/HTTPChunk.py +++ b/module/network/HTTPChunk.py @@ -228,7 +228,7 @@ class HTTPChunk(HTTPRequest): def parseHeader(self): """parse data from recieved header""" - for orgline in self.header.splitlines(): + for orgline in self.decodeResponse(self.header).splitlines(): line = orgline.strip().lower() if line.startswith("accept-ranges") and "bytes" in line: self.p.chunkSupport = True |