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>
This commit is contained in:
Raphael Okon authored and Italo A. Casas committed 2017-04-10 13:44:36 -04:00
1 parent 9e6b0a4604
commit 36617fd5b8
1 file changed
+1
+1
View File
@@ -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}