diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-21 13:23:53 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-21 13:23:53 +0200 |
commit | c9f5bc33f978f5e12669dff0f04082a8967a0a46 (patch) | |
tree | a3c24328d8b7262199125151405b31e72b0ff5e0 /pyload/network | |
parent | Merge branch 'pr/n10_ardi69' into 0.4.10 (diff) | |
download | pyload-c9f5bc33f978f5e12669dff0f04082a8967a0a46.tar.xz |
Spare code cosmetics (10)
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 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): |