Created
January 21, 2011 02:48
-
-
Save csanz/789169 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from file: https://github.com/ry/node/blob/6eca6b1ec05c5b386121a992dc7f6502f001f052/doc/api/http.markdown | |
| issue: you are getting the body length, but you are not passing it anywhere. | |
| var body = 'hello world'; | |
| response.writeHead(200, { | |
| 'Content-Length': body.length, | |
| 'Content-Type': 'text/plain' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment