diff options
Diffstat (limited to 'examples/modify_response_body.py')
-rw-r--r-- | examples/modify_response_body.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modify_response_body.py b/examples/modify_response_body.py index 23ad0151..8b6908a4 100644 --- a/examples/modify_response_body.py +++ b/examples/modify_response_body.py @@ -8,7 +8,7 @@ from mitmproxy.models import decoded state = {} -def start(): +def configure(options): if len(sys.argv) != 3: raise ValueError('Usage: -s "modify_response_body.py old new"') # You may want to use Python's argparse for more sophisticated argument |