Skip to content

Commit 36617fd

Browse files
raphaelokonitaloacasas
authored andcommitted
doc: add notes to http.get options
Extra notes that options doesn't include the prototype when copied Fixes: #12092 PR-URL: #12124 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 9e6b0a4 commit 36617fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http.md

+1
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,7 @@ added: v0.3.6
15441544

15451545
* `options` {Object | string} Accepts the same `options` as
15461546
[`http.request()`][], with the `method` always set to `GET`.
1547+
Properties that are inherited from the prototype are ignored.
15471548
* `callback` {Function}
15481549
* Returns: {http.ClientRequest}
15491550

0 commit comments

Comments
 (0)