summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar root <root@raspberrypi.(none)> 2015-04-21 07:03:23 +0200
committerGravatar root <root@raspberrypi.(none)> 2015-04-21 07:03:23 +0200
commita4e66c41ac377029ca284eb2b6772c8c269d712c (patch)
treede6d3f7fa5e9a789dae3d9045d5181a7af72307c
parentMerge pull request #4 from vuolter/0.4.10 (diff)
downloadpyload-a4e66c41ac377029ca284eb2b6772c8c269d712c.tar.xz
hotfix
-rw-r--r--pyload/network/HTTPRequest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/network/HTTPRequest.py b/pyload/network/HTTPRequest.py
index 92ce6ec4b..74b83cf12 100644
--- a/pyload/network/HTTPRequest.py
+++ b/pyload/network/HTTPRequest.py
@@ -24,7 +24,7 @@ def myurlencode(data):
data = dict(data)
return urlencode(dict((encode(x), encode(y)) for x, y in data.iteritems()))
-bad_headers = xrange(400, 404) + xrange(405, 418) + xrange(500, 506)
+bad_headers = range(400, 404) + range(405, 418) + range(500, 506)
class BadHeader(Exception):