mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
bpo-35567: Convert dict of constants to a set (GH-11296)
This commit is contained in:
parent
f06fba5965
commit
6815155384
1 changed files with 3 additions and 3 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue