From ed56d67cea3c0d6c0891306ec081eac95004919b Mon Sep 17 00:00:00 2001 From: Valtteri Virtanen Date: Mon, 5 Mar 2012 11:05:11 +0200 Subject: Adds no-pop option to server-side replay --- libmproxy/cmdline.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libmproxy/cmdline.py') diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index ffd1826a..035423d5 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -45,6 +45,7 @@ def get_common_options(options): stickyauth = stickyauth, wfile = options.wfile, verbosity = options.verbose, + nopop = options.nopop, ) @@ -183,6 +184,12 @@ def common_options(parser): help= "Disable response refresh, " "which updates times in cookies and headers for replayed responses." ) + group.add_option( + "--no-pop", + action="store_true", dest="nopop", default=False, + help="Disable response pop from response flow." + "This makes it possible to replay same response multiple times." + ) parser.add_option_group(group) proxy.certificate_option_group(parser) -- cgit v1.2.3 From 93565392cdb5383c5b1292078d48f3ae9245a920 Mon Sep 17 00:00:00 2001 From: Valtteri Virtanen Date: Mon, 5 Mar 2012 11:56:03 +0200 Subject: Adds space between sentences on no-pop's help --- libmproxy/cmdline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/cmdline.py') diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index 035423d5..27819294 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -187,7 +187,7 @@ def common_options(parser): group.add_option( "--no-pop", action="store_true", dest="nopop", default=False, - help="Disable response pop from response flow." + help="Disable response pop from response flow. " "This makes it possible to replay same response multiple times." ) parser.add_option_group(group) -- cgit v1.2.3