Skip to content

Commit fadafef

Browse files
committed
doc: improve metadata for http.request
PR-URL: #22949 Refs: #21616 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 7715273 commit fadafef

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/api/http.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,8 @@ added: v0.3.6
17791779
changes:
17801780
- version: v10.9.0
17811781
pr-url: https://github.com/nodejs/node/pull/21616
1782-
description: allow both url and options to be passed to `http.get()`
1782+
description: The `url` parameter can now be passed along with a separate
1783+
`options` object.
17831784
- version: v7.5.0
17841785
pr-url: https://github.com/nodejs/node/pull/10638
17851786
description: The `options` parameter can be a WHATWG `URL` object.
@@ -1856,7 +1857,8 @@ added: v0.3.6
18561857
changes:
18571858
- version: v10.9.0
18581859
pr-url: https://github.com/nodejs/node/pull/21616
1859-
description: allow both url and options to be passed to `http.request()`
1860+
description: The `url` parameter can now be passed along with a separate
1861+
`options` object.
18601862
- version: v7.5.0
18611863
pr-url: https://github.com/nodejs/node/pull/10638
18621864
description: The `options` parameter can be a WHATWG `URL` object.

doc/api/https.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ added: v0.3.6
116116
changes:
117117
- version: v10.9.0
118118
pr-url: https://github.com/nodejs/node/pull/21616
119-
description: allow both url and options to be passed to `https.get()`
119+
description: The `url` parameter can now be passed along with a separate
120+
`options` object.
120121
- version: v7.5.0
121122
pr-url: https://github.com/nodejs/node/pull/10638
122123
description: The `options` parameter can be a WHATWG `URL` object.
@@ -162,7 +163,8 @@ added: v0.3.6
162163
changes:
163164
- version: v10.9.0
164165
pr-url: https://github.com/nodejs/node/pull/21616
165-
description: allow both url and options to be passed to `https.request()`
166+
description: The `url` parameter can now be passed along with a separate
167+
`options` object.
166168
- version: v9.3.0
167169
pr-url: https://github.com/nodejs/node/pull/14903
168170
description: The `options` parameter can now include `clientCertEngine`.

0 commit comments

Comments
 (0)