diff --git a/examples/har_dump.py b/examples/har_dump.py index 65cff6167..6903608da 100644 --- a/examples/har_dump.py +++ b/examples/har_dump.py @@ -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)