mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-04 20:47:25 +00:00
5 lines
112 B
Python
5 lines
112 B
Python
|
def request(ctx, flow):
|
||
|
f = ctx.duplicate_flow(flow)
|
||
|
f.request.path = "/changed"
|
||
|
ctx.replay_request(f)
|