From 056a9024ec53aecb2c9f4f1a0f1ec3d099d80518 Mon Sep 17 00:00:00 2001 From: Yoav Shai Date: Thu, 5 Dec 2019 22:36:26 +0200 Subject: [PATCH] Add message to ContentView metadata --- mitmproxy/contentviews/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitmproxy/contentviews/__init__.py b/mitmproxy/contentviews/__init__.py index 1e71d9426..67e00833b 100644 --- a/mitmproxy/contentviews/__init__.py +++ b/mitmproxy/contentviews/__init__.py @@ -103,6 +103,7 @@ def get_message_content_view(viewname, message): metadata["query"] = message.query if isinstance(message, http.Message): metadata["headers"] = message.headers + metadata["message"] = message description, lines, error = get_content_view( viewmode, content, **metadata