summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-17 22:21:58 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-17 22:21:58 +0200
commitfceb34d21fab108c84677c07e21dd3a966a355a7 (patch)
tree0c4d3a26b1ed534bce016feb413db5f34b9e32e9 /module/network
parentfixes unnormal pycurl behaviour (diff)
downloadpyload-fceb34d21fab108c84677c07e21dd3a966a355a7.tar.xz
forgot to comment line in
Diffstat (limited to 'module/network')
-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 fc2310715..ee143330e 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]