diff --git a/website/api.html b/website/api.html index f22c3aeccb2..4b059e4e0af 100644 --- a/website/api.html +++ b/website/api.html @@ -614,6 +614,14 @@

node.http

only be done with multiple Cookie lines.

+

+ Node's HTTP abstraction deals with connection handling and message + parsing only. It parses the message into headers and body - but it does + not parse any of the headers or the body. This is left to the user. That + means, for example, that Node does not (and will never) provide API + to access or manipulate Cookies or multi-part bodies. +

+

node.http.Server

@@ -788,6 +796,11 @@

node.http.ServerResponse

specifies how to encode it into a byte stream. By default the encoding is "ascii".

+ +

+ Note: This is the raw HTTP body and has nothing to do with + higher-level multi-part body encodings that may be used. +

res.finish()