Adding a server replay option to ignore host when searching for matching requests

This commit is contained in:
Wade Catron
2015-03-07 08:38:18 -08:00
parent 15a8a93a4e
commit 803d631f04
6 changed files with 65 additions and 28 deletions

View File

@@ -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):

View File

@@ -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(