summaryrefslogtreecommitdiffstats
path: root/pyload/network/HTTPRequest.py
diff options
context:
space:
mode:
authorGravatar ardi69 <armin@diedering.de> 2015-04-21 20:52:58 +0200
committerGravatar ardi69 <armin@diedering.de> 2015-04-21 20:52:58 +0200
commit0bac5c219498c443495533066f6fd10a972dc1a7 (patch)
treea3c24328d8b7262199125151405b31e72b0ff5e0 /pyload/network/HTTPRequest.py
parentrevert for merge (diff)
parentSpare code cosmetics (10) (diff)
downloadpyload-0bac5c219498c443495533066f6fd10a972dc1a7.tar.xz
Merge pull request #5 from vuolter/0.4.10
Spare code cosmetics (10)
Diffstat (limited to 'pyload/network/HTTPRequest.py')
-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):