Merge pull request #1757 from fotinakis/master

Remove dead run_scripthooks example reference.
This commit is contained in:
Thomas Kriechbaumer 2016-11-19 22:54:42 +01:00 committed by GitHub
commit 3ea38e6aa4
1 changed files with 1 additions and 1 deletions

View File

@ -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)