mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-11-26 23:00:40 +00:00
Use path_prompt rather than plain prompt where needed in mitmproxy.
This commit is contained in:
parent
89b0ac5195
commit
894d3cc62d
@ -1,7 +1,5 @@
|
||||
__mitmproxy__ is an SSL-capable, intercepting HTTP proxy.
|
||||
|
||||
__mitmproxy__ is a console application that allows traffic flows to be
|
||||
inspected and edited on the fly.
|
||||
__mitmproxy__ is an SSL-capable, intercepting HTTP proxy. It provides a console
|
||||
interface that allows traffic flows to be inspected and edited on the fly.
|
||||
|
||||
__mitmdump__ is the command-line version of mitmproxy, with the same
|
||||
functionality but without the frills. Think tcpdump for HTTP.
|
||||
|
@ -167,7 +167,7 @@ class ConnectionItem(WWrap):
|
||||
self.state.revert(self.flow)
|
||||
self.master.sync_list_view()
|
||||
elif key == "w":
|
||||
self.master.prompt(
|
||||
self.master.path_prompt(
|
||||
"Save this flow: ",
|
||||
self.state.last_saveload,
|
||||
self.master.save_one_flow,
|
||||
@ -482,7 +482,7 @@ class ConnectionView(WWrap):
|
||||
self.state.revert(self.flow)
|
||||
self.master.refresh_connection(self.flow)
|
||||
elif key == "w":
|
||||
self.master.prompt(
|
||||
self.master.path_prompt(
|
||||
"Save this flow: ",
|
||||
self.state.last_saveload,
|
||||
self.master.save_one_flow,
|
||||
@ -499,13 +499,13 @@ class ConnectionView(WWrap):
|
||||
self.master.spawn_external_viewer(conn.content, t)
|
||||
elif key == "b":
|
||||
if self.state.view_flow_mode == VIEW_FLOW_REQUEST:
|
||||
self.master.prompt(
|
||||
self.master.path_prompt(
|
||||
"Save request body: ",
|
||||
self.state.last_saveload,
|
||||
self.save_body
|
||||
)
|
||||
else:
|
||||
self.master.prompt(
|
||||
self.master.path_prompt(
|
||||
"Save response body: ",
|
||||
self.state.last_saveload,
|
||||
self.save_body
|
||||
|
Loading…
Reference in New Issue
Block a user