mitmproxy/examples/dup_and_replay.py

5 lines
127 B
Python
Raw Normal View History

2014-09-08 14:02:31 +00:00
def request(context, flow):
f = context.duplicate_flow(flow)
f.request.path = "/changed"
2015-05-30 00:03:28 +00:00
context.replay_request(f)