diff --git a/examples/contrib/har_dump.py b/examples/contrib/har_dump.py index f82966d0f..ab055a4bc 100644 --- a/examples/contrib/har_dump.py +++ b/examples/contrib/har_dump.py @@ -46,9 +46,16 @@ def configure(updated): "version": "0.1", "comment": "mitmproxy version %s" % version.MITMPROXY }, + "pages": [ + { + "pageTimings": {} + } + ], "entries": [] } }) + # The `pages` attribute is needed for Firefox Dev Tools to load the HAR file. + # An empty value works fine. def response(flow: mitmproxy.http.HTTPFlow):