mitmproxy/test/scripts/duplicate_flow.py

6 lines
79 B
Python

def request(ctx, f):
f = ctx.duplicate_flow(f)
ctx.replay_request(f)