mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
4 lines
114 B
Python
4 lines
114 B
Python
def request(ctx, flow):
|
|
f = ctx.duplicate_flow(flow)
|
|
f.request.path = "/changed"
|
|
ctx.replay_request(f) |