Fix DeprecationWarning in har_dump.py

This commit is contained in:
KORraNpl 2021-08-11 20:32:39 +02:00
parent ab6f1ebb44
commit 52c81c287e
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ def response(flow: mitmproxy.http.HTTPFlow):
}
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)