summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRaphael Okon <raphael@okon.io>2017-03-29 22:10:42 +0200
committerJames M Snell <jasnell@gmail.com>2017-04-04 09:57:37 -0700
commite1161a37188600ce23bef3bcab2ed44fbd645860 (patch)
tree0317cabc544b0ae191870f50bb80696363720359 /doc
parentc4469c49ecc2d6624466466e6b496c31d0e9fbed (diff)
downloadandroid-node-v8-e1161a37188600ce23bef3bcab2ed44fbd645860.tar.gz
android-node-v8-e1161a37188600ce23bef3bcab2ed44fbd645860.tar.bz2
android-node-v8-e1161a37188600ce23bef3bcab2ed44fbd645860.zip
doc: add notes to http.get options
Extra notes that options doesn't include the prototype when copied Fixes: https://github.com/nodejs/node/issues/12092 PR-URL: https://github.com/nodejs/node/pull/12124 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 208dc8fa76..f9d3d1e52f 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1544,6 +1544,7 @@ added: v0.3.6
* `options` {Object | string} Accepts the same `options` as
[`http.request()`][], with the `method` always set to `GET`.
+ Properties that are inherited from the prototype are ignored.
* `callback` {Function}
* Returns: {http.ClientRequest}