mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 14:58:38 +00:00
Add serverIPAddress field
This commit is contained in:
parent
7de48fc197
commit
9aa230707d
@ -132,6 +132,9 @@ def response(flow):
|
||||
"params": name_value(flow.request.urlencoded_form)
|
||||
}
|
||||
|
||||
if flow.server_conn:
|
||||
entry["serverIPAddress"] = str(flow.server_conn.ip_address.address[0])
|
||||
|
||||
HAR["log"]["entries"].append(entry)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user