mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Now keeps header capitalization
This commit is contained in:
parent
ef462a05d7
commit
a724fd606a
@ -105,7 +105,7 @@ class _MultiDict(MutableMapping, basetypes.Serializable):
|
|||||||
if self._kconv(field[0]) == key_kconv:
|
if self._kconv(field[0]) == key_kconv:
|
||||||
if values:
|
if values:
|
||||||
new_fields.append(
|
new_fields.append(
|
||||||
(key, values.pop(0))
|
(field[0], values.pop(0))
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
new_fields.append(field)
|
new_fields.append(field)
|
||||||
|
Loading…
Reference in New Issue
Block a user