From 36617fd5b832e0b0d053cec873155bbcfa87391d Mon Sep 17 00:00:00 2001 From: Raphael Okon Date: Wed, 29 Mar 2017 22:10:42 +0200 Subject: [PATCH] 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 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca --- doc/api/http.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http.md b/doc/api/http.md index 208dc8fa760a60..f9d3d1e52f99cc 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}