aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/flowlist.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/flowlist.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/flowlist.py')
-rw-r--r--libmproxy/console/flowlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/flowlist.py b/libmproxy/console/flowlist.py
index c70393a1..8fd4efce 100644
--- a/libmproxy/console/flowlist.py
+++ b/libmproxy/console/flowlist.py
@@ -105,7 +105,7 @@ class ConnectionItem(common.WWrap):
common.WWrap.__init__(self, w)
def get_text(self):
- return common.format_flow(self.flow, self.f)
+ return common.format_flow(self.flow, self.f, hostheader=self.master.showhost)
def selectable(self):
return True