Merge pull request #2072 from MatthewShao/dev

[web] Fix #2071, remove client_connect.mitmcert when dumping flow into json.
This commit is contained in:
Thomas Kriechbaumer 2017-02-27 17:10:17 +01:00 committed by GitHub
commit 8f13f357ad

View File

@ -85,6 +85,7 @@ def flow_to_json(flow: mitmproxy.flow.Flow) -> dict:
"is_replay": flow.response.is_replay, "is_replay": flow.response.is_replay,
} }
f.get("server_conn", {}).pop("cert", None) f.get("server_conn", {}).pop("cert", None)
f.get("client_conn", {}).pop("mitmcert", None)
return f return f