Closed EthianWong closed 7 years ago
I'm trying to figure out what the core fix is here as It's broken on desktop as well (outside of Buffer)
Thank you for this change. I'm going to test it further and then deploy a release
I changed this up to use Buffer.byteLength(request.data) instead as Buffer(string).length returns the allocated memory length instead of the actual byte count
This has been deployed (https://github.com/exceptionless/Exceptionless.JavaScript/releases/tag/v1.4.2) Thank you for your contributions!
You're welcome~ This is my first time to contributions in github~ make me exciting
We greatly appreciate it and would love to have you apart of our community :). Please feel free to hang out and chat with other developers on our slack channel: slack.exceptionless.com
In other languages (Chinese , Japanese .... ) One word maybe use two or three bytes ...
So you should use new Buffer for set "Content-Length" and this problem will be resolve