diff options
Diffstat (limited to 'mitmproxy/console/flowview.py')
-rw-r--r-- | mitmproxy/console/flowview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/console/flowview.py b/mitmproxy/console/flowview.py index f8686b41..d13e9db0 100644 --- a/mitmproxy/console/flowview.py +++ b/mitmproxy/console/flowview.py @@ -219,7 +219,7 @@ class FlowView(tabs.Tabs): ) except exceptions.ContentViewException: s = "Content viewer failed: \n" + traceback.format_exc() - signals.add_event(s, "error") + signals.add_log(s, "error") description, lines = contentviews.get_content_view( contentviews.get("Raw"), content, headers=message.headers ) @@ -271,7 +271,7 @@ class FlowView(tabs.Tabs): def conn_text(self, conn): if conn: txt = common.format_keyvals( - [(h + ":", v) for (h, v) in conn.headers.fields], + [(h + ":", v) for (h, v) in conn.headers.items(multi=True)], key = "header", val = "text" ) |