-
Notifications
You must be signed in to change notification settings - Fork 983
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
Decode utf8 strings as whole, not in parts, fixes #774 #775
Conversation
Thanks so much for the PR. Could you please write a test for this? Prefix the test name with 'GH-774'. |
Test case added. |
} | ||
|
||
req.body = new Buffer(0); | ||
return (function (chunk) { | ||
req.body = Buffer.concat([req.body, chunk]); | ||
if (chunk) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add braces around this if block -- since you've got braces around the else block
Any news on integrating this? I see someone else is also hitting this. Thanks! |
Decode utf8 strings as whole, not in parts, fixes #774
No description provided.