aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.mkd6
-rw-r--r--libmproxy/console.py8
2 files changed, 6 insertions, 8 deletions
diff --git a/README.mkd b/README.mkd
index f7138a5d..7ed2d219 100644
--- a/README.mkd
+++ b/README.mkd
@@ -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.
diff --git a/libmproxy/console.py b/libmproxy/console.py
index b8f766e6..3320e2ca 100644
--- a/libmproxy/console.py
+++ b/libmproxy/console.py
@@ -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