This commit is contained in:
shindonghwi 2026-02-23 15:48:31 +00:00 committed by GitHub
commit e2d5d012d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -260,7 +260,7 @@ class Headers(typing.MutableMapping[str, str]):
values = [
item_value.decode(self.encoding)
for _, item_key, item_value in self._list
if item_key.lower() == get_header_key
if item_key == get_header_key
]
if not split_commas:
@ -334,7 +334,7 @@ class Headers(typing.MutableMapping[str, str]):
pop_indexes = [
idx
for idx, (_, item_key, _) in enumerate(self._list)
if item_key.lower() == del_key
if item_key == del_key
]
if not pop_indexes: