Skip to content

Commit

Permalink
doc: add notes to http.get options
Browse files Browse the repository at this point in the history
Extra notes that options doesn't include the prototype when copied

Fixes: nodejs#12092
PR-URL: nodejs#12124
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
raphaelokon authored and italoacasas committed Apr 10, 2017
1 parent 9e6b0a4 commit 36617fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 36617fd

Please sign in to comment.