mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
5 lines
127 B
Python
5 lines
127 B
Python
def request(context, flow):
|
|
f = context.duplicate_flow(flow)
|
|
f.request.path = "/changed"
|
|
context.replay_request(f)
|