mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Update serverplayback.py
This commit is contained in:
parent
141ade5ae1
commit
3eebfed79f
@ -128,10 +128,7 @@ class ServerPlayback:
|
||||
key.append(str(r.raw_content))
|
||||
|
||||
if not ctx.options.server_replay_ignore_host:
|
||||
if ctx.options.mode == "transparent":
|
||||
key.append(r.host_header)
|
||||
else:
|
||||
key.append(r.host)
|
||||
key.append(r.pretty_host)
|
||||
|
||||
filtered = []
|
||||
ignore_params = ctx.options.server_replay_ignore_params or []
|
||||
|
Loading…
Reference in New Issue
Block a user