mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
9e6b0a4604
commit
36617fd5b8
1 file changed
+1
@@ -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}
|
||||
|
||||
|
||||
Reference in new issue
Block a user