mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
commit
a300fc132d
@ -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