Skip to content

Commit 6b2e2ff

Browse files
tniessentargos
authored andcommitted
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 91b4102 commit 6b2e2ff

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
@@ -1775,7 +1775,8 @@ added: v0.3.6
17751775
changes:
17761776
- version: v10.9.0
17771777
pr-url: https://github.com/nodejs/node/pull/21616
1778-
description: allow both url and options to be passed to `http.get()`
1778+
description: The `url` parameter can now be passed along with a separate
1779+
`options` object.
17791780
- version: v7.5.0
17801781
pr-url: https://github.com/nodejs/node/pull/10638
17811782
description: The `options` parameter can be a WHATWG `URL` object.
@@ -1852,7 +1853,8 @@ added: v0.3.6
18521853
changes:
18531854
- version: v10.9.0
18541855
pr-url: https://github.com/nodejs/node/pull/21616
1855-
description: allow both url and options to be passed to `http.request()`
1856+
description: The `url` parameter can now be passed along with a separate
1857+
`options` object.
18561858
- version: v7.5.0
18571859
pr-url: https://github.com/nodejs/node/pull/10638
18581860
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)