From 7b4e60a2e7724a3246dee9588885b0867f666fb7 Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Mon, 27 Feb 2017 21:45:26 +0800 Subject: [PATCH] Fix #2071, remove client_connect.mitmcert when dumping flow into json. --- mitmproxy/tools/web/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitmproxy/tools/web/app.py b/mitmproxy/tools/web/app.py index 1f3467cce..893c3dde0 100644 --- a/mitmproxy/tools/web/app.py +++ b/mitmproxy/tools/web/app.py @@ -85,6 +85,7 @@ def flow_to_json(flow: mitmproxy.flow.Flow) -> dict: "is_replay": flow.response.is_replay, } f.get("server_conn", {}).pop("cert", None) + f.get("client_conn", {}).pop("mitmcert", None) return f