Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported HAR is not following HAR 1.2 specification #36

Open
7h3Rabbit opened this issue Dec 22, 2024 · 0 comments
Open

Exported HAR is not following HAR 1.2 specification #36

7h3Rabbit opened this issue Dec 22, 2024 · 0 comments

Comments

@7h3Rabbit
Copy link

Generating HAR using sitespeed.io (that uses this repo) results in a HAR file not following HAR 1.2 specification.

Generating HAR from visiting https://webperf.se results in the following error:

Error: log.entries[0].response.content.compression has wrong value type, actual value type: <class 'str'>

According to spec (IF I read it correctly) this should be of type number and not string.

Error: log.entries[0].response.content.text has wrong value, actual value: , content-type: text/html;charset=utf-8

According to spec (IF I read it correctly) this should (if present) include the actual content of the resource, either in plain text or encoded.
Sadly today, this value is always an empty string.
This part is related to #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant