har: don't set pages

This commit is contained in:
gpiechnik2 2022-12-17 14:32:38 +01:00 committed by GitHub
parent 1536e537ad
commit 12960c0494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,13 +48,11 @@ def configure(updated):
"version": "0.1",
"comment": "mitmproxy version %s" % version.MITMPROXY,
},
"pages": [{"pageTimings": {}}],
"pages": [],
"entries": [],
}
}
)
# The `pages` attribute is needed for Firefox Dev Tools to load the HAR file.
# An empty value works fine.
def flow_entry(flow: mitmproxy.http.HTTPFlow) -> dict: