diff options
| author | Matt Russell <matthew.russell@horizon5.org> | 2015-01-14 08:04:57 +0000 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2016-06-24 23:00:13 -0600 |
| commit | e458d5bbf9bdb91474eaa7ed03f3f11a06f6fade (patch) | |
| tree | 3f916c0ea41807221ba47e30005d0609f4206bb9 /waitress | |
| parent | 6d4dab6bed88917b973066a6d5222917661802b7 (diff) | |
| download | waitress-e458d5bbf9bdb91474eaa7ed03f3f11a06f6fade.tar.gz | |
Fix tests Python3 breakage
Diffstat (limited to 'waitress')
| -rw-r--r-- | waitress/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waitress/parser.py b/waitress/parser.py index 0315967..fc71d68 100644 --- a/waitress/parser.py +++ b/waitress/parser.py @@ -182,7 +182,7 @@ class HTTPRequestParser(object): index = line.find(b':') if index > 0: key = line[:index] - if '_' in key: + if b'_' in key: continue value = line[index + 1:].strip() key1 = tostr(key.upper().replace(b'-', b'_')) |
