From 8c94f8e7214d9ee0a131584e672ae83277303f2b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 19 Jul 2011 21:10:04 +0200 Subject: use correct encoding header parsing --- module/network/HTTPChunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/network/HTTPChunk.py') 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 -- cgit v1.2.3