summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPChunk.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-17 22:14:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-17 22:14:48 +0200
commit7094105fb06be18b9aa3154d99f92441b085212c (patch)
tree60ccd61f505cd7e3c749fbfe69407dc0ed763094 /module/network/HTTPChunk.py
parentnot working restart method (diff)
downloadpyload-7094105fb06be18b9aa3154d99f92441b085212c.tar.xz
fixes unnormal pycurl behaviour
Diffstat (limited to 'module/network/HTTPChunk.py')
-rw-r--r--module/network/HTTPChunk.py4
1 files changed, 2 insertions, 2 deletions
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]