mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Now keeps header capitalization
This commit is contained in:
@@ -105,7 +105,7 @@ class _MultiDict(MutableMapping, basetypes.Serializable):
|
||||
if self._kconv(field[0]) == key_kconv:
|
||||
if values:
|
||||
new_fields.append(
|
||||
(key, values.pop(0))
|
||||
(field[0], values.pop(0))
|
||||
)
|
||||
else:
|
||||
new_fields.append(field)
|
||||
|
||||
Reference in New Issue
Block a user