simpleResponse() doesn't work well with non-ASCII characters #3

svick opened this Issue Aug 6, 2010 · 0 comments

1 participant


simpleResponse() sets the Content-Length header to body.length, which isn't correct when body contains non-ASCII characters, because those are sent as multiple bytes. This causes that the end of body isn't received by the recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment