mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Adding a server replay option to ignore host when searching for matching requests
This commit is contained in:
@@ -528,7 +528,10 @@ class ConsoleMaster(flow.FlowMaster):
|
||||
flows,
|
||||
self.killextra, self.rheaders,
|
||||
False, self.nopop,
|
||||
self.options.replay_ignore_params, self.options.replay_ignore_content, self.options.replay_ignore_payload_params
|
||||
self.options.replay_ignore_params,
|
||||
self.options.replay_ignore_content,
|
||||
self.options.replay_ignore_payload_params,
|
||||
self.options.replay_ignore_host
|
||||
)
|
||||
|
||||
def spawn_editor(self, data):
|
||||
|
||||
@@ -126,7 +126,8 @@ class ConnectionItem(common.WWrap):
|
||||
self.master.killextra, self.master.rheaders,
|
||||
False, self.master.nopop,
|
||||
self.master.options.replay_ignore_params, self.master.options.replay_ignore_content,
|
||||
self.master.options.replay_ignore_payload_params
|
||||
self.master.options.replay_ignore_payload_params,
|
||||
self.master.options.replay_ignore_host
|
||||
)
|
||||
elif k == "t":
|
||||
self.master.start_server_playback(
|
||||
@@ -134,7 +135,8 @@ class ConnectionItem(common.WWrap):
|
||||
self.master.killextra, self.master.rheaders,
|
||||
False, self.master.nopop,
|
||||
self.master.options.replay_ignore_params, self.master.options.replay_ignore_content,
|
||||
self.master.options.replay_ignore_payload_params
|
||||
self.master.options.replay_ignore_payload_params,
|
||||
self.master.options.replay_ignore_host
|
||||
)
|
||||
else:
|
||||
self.master.path_prompt(
|
||||
|
||||
Reference in New Issue
Block a user