mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-03-26 08:54:48 +08:00
Merge pull request #1757 from fotinakis/master
Remove dead run_scripthooks example reference.
This commit is contained in:
@@ -4,4 +4,4 @@ from mitmproxy import ctx
|
||||
def request(flow):
|
||||
f = ctx.master.state.duplicate_flow(flow)
|
||||
f.request.path = "/changed"
|
||||
ctx.master.replay_request(f, block=True, run_scripthooks=False)
|
||||
ctx.master.replay_request(f, block=True)
|
||||
|
||||
Reference in New Issue
Block a user