diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2018-12-23 16:25:43 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-12-23 16:25:43 (GMT) |
commit | 68151553845199136794bd60dcec238d8bfe0bdb (patch) | |
tree | 8dbb4fcd678ad45b43eec5503b36166878b33e5b /Lib/wsgiref | |
parent | f06fba5965b4265c42291d10454f387b76111f26 (diff) | |
download | cpython-68151553845199136794bd60dcec238d8bfe0bdb.zip cpython-68151553845199136794bd60dcec238d8bfe0bdb.tar.gz cpython-68151553845199136794bd60dcec238d8bfe0bdb.tar.bz2 |
bpo-35567: Convert dict of constants to a set (GH-11296)
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r-- | Lib/wsgiref/util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/wsgiref/util.py b/Lib/wsgiref/util.py index 1cff7a3..cac52eb 100644 --- a/Lib/wsgiref/util.py +++ b/Lib/wsgiref/util.py @@ -162,9 +162,9 @@ def setup_testing_defaults(environ): _hoppish = { - 'connection':1, 'keep-alive':1, 'proxy-authenticate':1, - 'proxy-authorization':1, 'te':1, 'trailers':1, 'transfer-encoding':1, - 'upgrade':1 + 'connection', 'keep-alive', 'proxy-authenticate', + 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', + 'upgrade' }.__contains__ def is_hop_by_hop(header_name): |