aboutsummaryrefslogtreecommitdiffstats
path: root/mitmdump
diff options
context:
space:
mode:
Diffstat (limited to 'mitmdump')
-rwxr-xr-xmitmdump9
1 files changed, 8 insertions, 1 deletions
diff --git a/mitmdump b/mitmdump
index 972c7666..881f99c2 100755
--- a/mitmdump
+++ b/mitmdump
@@ -107,6 +107,12 @@ if __name__ == '__main__':
help="Request headers to be considered during replay. "
"Can be passed multiple times."
)
+ group.add_option(
+ "--norefresh",
+ action="store_true", dest="norefresh", default=False,
+ help= "Disable response refresh, "
+ "which updates times in cookies and headers for replayed responses."
+ )
parser.add_option_group(group)
proxy.certificate_option_group(parser)
@@ -136,7 +142,8 @@ if __name__ == '__main__':
client_replay = options.client_replay,
keepserving = options.keepserving,
stickycookie = stickycookie,
- anticache = options.anticache
+ anticache = options.anticache,
+ refresh_server_playback = not options.norefresh,
)
if args:
filt = " ".join(args)