aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/help.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-03-17 17:31:35 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-03-17 17:37:54 +1300
commit0e993bec6f7fa77e73a08053f4558ff1fc36d022 (patch)
treea9f0763cf510028c3cd73128dfd0a48991bfedc3 /libmproxy/console/help.py
parent790ad468e4352419ef519401680f99ee3beb148d (diff)
downloadmitmproxy-0e993bec6f7fa77e73a08053f4558ff1fc36d022.tar.gz
mitmproxy-0e993bec6f7fa77e73a08053f4558ff1fc36d022.tar.bz2
mitmproxy-0e993bec6f7fa77e73a08053f4558ff1fc36d022.zip
Add the --host option, which uses the value in the Host header for dispaly URLs.
- Can be toggled with "o" then "h" in mitmproxy - Useful for transparent mode
Diffstat (limited to 'libmproxy/console/help.py')
-rw-r--r--libmproxy/console/help.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmproxy/console/help.py b/libmproxy/console/help.py
index 178b36f7..40f81955 100644
--- a/libmproxy/console/help.py
+++ b/libmproxy/console/help.py
@@ -98,6 +98,10 @@ class HelpView(urwid.ListBox):
[("text", ": prevent compressed responses")]
),
(None,
+ common.highlight_key("showhost", "h") +
+ [("text", ": use Host header for URL display")]
+ ),
+ (None,
common.highlight_key("killextra", "k") +
[("text", ": kill requests not part of server replay")]
),