From 7094105fb06be18b9aa3154d99f92441b085212c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 17 Aug 2011 22:14:48 +0200 Subject: fixes unnormal pycurl behaviour --- module/network/HTTPChunk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/network/HTTPChunk.py') diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py index ee143330e..fc2310715 100644 --- a/module/network/HTTPChunk.py +++ b/module/network/HTTPChunk.py @@ -232,8 +232,8 @@ class HTTPChunk(HTTPRequest): """parse data from recieved header""" 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 +# if line.startswith("accept-ranges") and "bytes" in line: +# self.p.chunkSupport = True if line.startswith("content-disposition") and "filename=" in line: name = orgline.partition("filename=")[2] -- cgit v1.2.3