diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-03-10 13:36:50 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-03-10 13:36:50 +1300 |
commit | d3aad7a185cd0bbd611f3ad8de39f4d43913bd23 (patch) | |
tree | a23d96d37f2101ef8fcc76c48a0f2de0b132fcad /libmproxy/cmdline.py | |
parent | e1356dd2b6a0293842d5ba4151ddc49f841f3cf6 (diff) | |
parent | 041eafba73e911953caaab797eb34bf6f0820e7e (diff) | |
download | mitmproxy-d3aad7a185cd0bbd611f3ad8de39f4d43913bd23.tar.gz mitmproxy-d3aad7a185cd0bbd611f3ad8de39f4d43913bd23.tar.bz2 mitmproxy-d3aad7a185cd0bbd611f3ad8de39f4d43913bd23.zip |
Merge remote-tracking branch 'taiste/server-replay-pop'
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r-- | libmproxy/cmdline.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index ffd1826a..27819294 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) |