summaryrefslogtreecommitdiff
path: root/doc/api/http.markdown
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-02-27 03:57:19 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-02-27 04:00:22 +0100
commit90fd70d284b7a3bb12e94ac5f7d7354ef1a36ddc (patch)
tree8b9c95158de318b37a1d0529b81f9e301596c7ed /doc/api/http.markdown
parentaa35564ca1c9f3854bc5f7983f2f00cb51f67ffe (diff)
downloadnode-new-90fd70d284b7a3bb12e94ac5f7d7354ef1a36ddc.tar.gz
docs: fix http.ClientRequest.write() documentation
'an array of integers' == very, very deprecated
Diffstat (limited to 'doc/api/http.markdown')
-rw-r--r--doc/api/http.markdown3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
index 6c4dbf2b36..e26c94fb0f 100644
--- a/doc/api/http.markdown
+++ b/doc/api/http.markdown
@@ -765,8 +765,7 @@ server--in that case it is suggested to use the
`['Transfer-Encoding', 'chunked']` header line when
creating the request.
-The `chunk` argument should be an array of integers
-or a string.
+The `chunk` argument should be a [buffer](buffers.html) or a string.
The `encoding` argument is optional and only applies when `chunk` is a string.
Defaults to `'utf8'`.