From 0a478e4e39395c3eb3dea9933b6e41f6ac3da038 Mon Sep 17 00:00:00 2001 From: cle1000 Date: Tue, 15 Mar 2016 15:36:10 +0100 Subject: [PATCH] Update modify_response_body.py fix typo --- examples/modify_response_body.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/modify_response_body.py b/examples/modify_response_body.py index 88f69e15c..d68bcf63e 100644 --- a/examples/modify_response_body.py +++ b/examples/modify_response_body.py @@ -5,7 +5,7 @@ from mitmproxy.models import decoded def start(context, argv): if len(argv) != 3: - raise ValueError('Usage: -s "modify-response-body.py old new"') + raise ValueError('Usage: -s "modify_response_body.py old new"') # You may want to use Python's argparse for more sophisticated argument # parsing. context.old, context.new = argv[1], argv[2]