Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoichik <koichik@improvement.jp>2011-07-29 22:03:58 +0400
committerkoichik <koichik@improvement.jp>2011-07-29 22:18:33 +0400
commitc72223e2a9aae2d5c20825562657c50a644d8a59 (patch)
tree9725e93627fc140806e73c7b9dd10d949871808e /doc/api/http.markdown
parent8b3ba47f88e5f59256818e3173c75c66ff5a82df (diff)
Doc improvements
related to #1391, #1415.
Diffstat (limited to 'doc/api/http.markdown')
-rw-r--r--doc/api/http.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
index 5838a0b3dbe..bacfbe2288b 100644
--- a/doc/api/http.markdown
+++ b/doc/api/http.markdown
@@ -283,6 +283,8 @@ Note: that Content-Length is given in bytes not characters. The above example
works because the string `'hello world'` contains only single byte characters.
If the body contains higher coded characters then `Buffer.byteLength()`
should be used to determine the number of bytes in a given encoding.
+And Node does not check whether Content-Length and the length of the body
+which has been transmitted are equal or not.
### response.statusCode
@@ -589,6 +591,8 @@ event, the entire body will be caught.
});
This is a `Writable Stream`.
+Note: Node does not check whether Content-Length and the length of the body
+which has been transmitted are equal or not.
This is an `EventEmitter` with the following events: