We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HarUploader.prototype.start() includes: this.request.setRequestHeader("Content-Length", jsonString.length);
which when jsonString includes unicode characters (by that, I mean bom-containing characters), the jsonString.length != jsonString.byteLength.
This makes the header incorrect and my beacon service can't parse the Har string.
Fix: I recommend just not setting the "Content-Length" header manually. Removing that line fixed the problem for me.
The text was updated successfully, but these errors were encountered:
Unicode characters in Har break beacon service #5
12b810d
Thanks for the report!
Patch committed at: 12b810d
Honza
Sorry, something went wrong.
No branches or pull requests
HarUploader.prototype.start()
includes:
this.request.setRequestHeader("Content-Length", jsonString.length);
which when jsonString includes unicode characters (by that, I mean bom-containing characters), the jsonString.length != jsonString.byteLength.
This makes the header incorrect and my beacon service can't parse the Har string.
Fix: I recommend just not setting the "Content-Length" header manually. Removing that line fixed the problem for me.
The text was updated successfully, but these errors were encountered: