mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Merge pull request #2072 from MatthewShao/dev
[web] Fix #2071, remove client_connect.mitmcert when dumping flow into json.
This commit is contained in:
commit
8f13f357ad
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user