Browse Source

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>
v6
Raphael Okon 8 years ago
committed by James M Snell
parent
commit
e1161a3718
  1. 1
      doc/api/http.md

1
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}

Loading…
Cancel
Save