diff --git a/examples/dup_and_replay.py b/examples/dup_and_replay.py index 55d6ce7b2..bf7c2a4e1 100644 --- a/examples/dup_and_replay.py +++ b/examples/dup_and_replay.py @@ -4,4 +4,4 @@ from mitmproxy import ctx def request(flow): f = ctx.master.state.duplicate_flow(flow) f.request.path = "/changed" - ctx.master.replay_request(f, block=True, run_scripthooks=False) + ctx.master.replay_request(f, block=True)