mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
Merge pull request #4747 from KORraNpl/korran/fix_DeprecationWarning_in_har_dump.py
Fix DeprecationWarning in har_dump.py
This commit is contained in:
commit
92518f3b67
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user