Skip to content

Use Buffer.byteLength instead of string length for Content-Length header #213

merged 1 commit into from Jan 6, 2014

2 participants

joshisa commented Dec 23, 2013

This prevents Content-Length mismatches when sending multi-byte characters and potential socket hang ups.


@fzaninotto fzaninotto merged commit 1f32cef into fzaninotto:master Jan 6, 2014

1 check passed

Details default Scrutinizer: 103 new/changed issues


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.