mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix #4312
This commit is contained in:
parent
d8eda8daf9
commit
dc964b3887
@ -63,8 +63,8 @@ class ModifyHeaders:
|
||||
)
|
||||
|
||||
def configure(self, updated):
|
||||
self.replacements = []
|
||||
if "modify_headers" in updated:
|
||||
self.replacements = []
|
||||
for option in ctx.options.modify_headers:
|
||||
try:
|
||||
spec = parse_modify_spec(option, False)
|
||||
|
Loading…
Reference in New Issue
Block a user