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
path: root/doc
diff options
context:
space:
mode:
authorMark Nottingham <mnot@mnot.net>2010-09-29 13:38:48 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-10-01 03:30:40 +0400
commit1b24fc667802233b8e1c34c4189ab82ba5dd357a (patch)
tree95b8ae5b8c08335b583ec3b74d1016844e31cca7 /doc
parent43ddc04bb0bf9d5715e29de19d71185d28c63cea (diff)
Consume HTTP trailing headers
Diffstat (limited to 'doc')
-rw-r--r--doc/api.markdown8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api.markdown b/doc/api.markdown
index f7563b5362d..66d83ce2e54 100644
--- a/doc/api.markdown
+++ b/doc/api.markdown
@@ -1791,6 +1791,10 @@ you can use the `require('querystring').parse` function, or pass
Read only.
+### request.trailers
+
+Read only; HTTP trailers (if present). Only populated after the 'end' event.
+
### request.httpVersion
The HTTP protocol version as a string. Read only. Examples:
@@ -2093,6 +2097,10 @@ Also `response.httpVersionMajor` is the first integer and
The response headers object.
+### response.trailers
+
+The response trailers object. Only populated after the 'end' event.
+
### response.setEncoding(encoding=null)
Set the encoding for the response body. Either `'utf8'`, `'ascii'`, or `'base64'`.