Handling non-compliant HAR files? #28
Replies: 2 comments
-
Hi @FineFindus, thanks for filing an issue According to the HAR spec, the But its not there in the HAR archive in your link, hence it throws the error Maybe "modes" could be implemented, something like Edit: updated the title & converted it to a discussion |
Beta Was this translation helpful? Give feedback.
-
Interesting, makes sense why it failed then. In that case, the issue should also be moved to the Firefox repository. I opened it here, as I was able to read it with another deserializer and did not expect it to be Firefox's fault. Also, it did not throw the I think it would be a great idea to add different modes, as other browser might also create corrupted files from time to time, which would otherwise not be readable with the crate. |
Beta Was this translation helpful? Give feedback.
-
Reading the following .har file fails with the error message
error serializing YAML
, even though the file is not a YAML file.I believe this error is specific to Firefox, as it does not appear when generating
.har
files with chromium based browser.Small example code:
Beta Was this translation helpful? Give feedback.
All reactions