mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
Fix DeprecationWarning in har_dump.py
This commit is contained in:
parent
ab6f1ebb44
commit
52c81c287e
@ -154,7 +154,7 @@ def response(flow: mitmproxy.http.HTTPFlow):
|
|||||||
}
|
}
|
||||||
|
|
||||||
if flow.server_conn.connected:
|
if flow.server_conn.connected:
|
||||||
entry["serverIPAddress"] = str(flow.server_conn.ip_address[0])
|
entry["serverIPAddress"] = str(flow.server_conn.peername[0])
|
||||||
|
|
||||||
HAR["log"]["entries"].append(entry)
|
HAR["log"]["entries"].append(entry)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user