diff options
author | 2015-04-21 20:50:05 +0200 | |
---|---|---|
committer | 2015-04-21 20:50:05 +0200 | |
commit | ce9e0c03e131162523ec949fc66b6802920fcd3b (patch) | |
tree | b82a8b5fc0a309f69733b0a004284f4ef45833d8 /pyload/network | |
parent | hotfix 2 (diff) | |
download | pyload-ce9e0c03e131162523ec949fc66b6802920fcd3b.tar.xz |
revert for merge
Diffstat (limited to 'pyload/network')
-rw-r--r-- | pyload/network/HTTPRequest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/network/HTTPRequest.py b/pyload/network/HTTPRequest.py index 74b83cf12..92ce6ec4b 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 = range(400, 404) + range(405, 418) + range(500, 506) +bad_headers = xrange(400, 404) + xrange(405, 418) + xrange(500, 506) class BadHeader(Exception): |