Files
mitmproxy/scripts/core/dup_and_replay.py
2013-08-07 18:34:26 +02:00

5 lines
112 B
Python

def request(ctx, flow):
f = ctx.duplicate_flow(flow)
f.request.path = "/changed"
ctx.replay_request(f)