From 6b2e2ff036bff1327e937dc4b81bb6387fe7f113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 19 Sep 2018 17:14:37 +0200 Subject: [PATCH] doc: improve metadata for http.request PR-URL: https://github.com/nodejs/node/pull/22949 Refs: https://github.com/nodejs/node/pull/21616 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca --- doc/api/http.md | 6 ++++-- doc/api/https.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 2eb21a03c335d8..c34e6cded4d5a7 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1775,7 +1775,8 @@ added: v0.3.6 changes: - version: v10.9.0 pr-url: https://github.com/nodejs/node/pull/21616 - description: allow both url and options to be passed to `http.get()` + description: The `url` parameter can now be passed along with a separate + `options` object. - version: v7.5.0 pr-url: https://github.com/nodejs/node/pull/10638 description: The `options` parameter can be a WHATWG `URL` object. @@ -1852,7 +1853,8 @@ added: v0.3.6 changes: - version: v10.9.0 pr-url: https://github.com/nodejs/node/pull/21616 - description: allow both url and options to be passed to `http.request()` + description: The `url` parameter can now be passed along with a separate + `options` object. - version: v7.5.0 pr-url: https://github.com/nodejs/node/pull/10638 description: The `options` parameter can be a WHATWG `URL` object. diff --git a/doc/api/https.md b/doc/api/https.md index e52a1dfedbce4d..e01606042ee557 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -116,7 +116,8 @@ added: v0.3.6 changes: - version: v10.9.0 pr-url: https://github.com/nodejs/node/pull/21616 - description: allow both url and options to be passed to `https.get()` + description: The `url` parameter can now be passed along with a separate + `options` object. - version: v7.5.0 pr-url: https://github.com/nodejs/node/pull/10638 description: The `options` parameter can be a WHATWG `URL` object. @@ -162,7 +163,8 @@ added: v0.3.6 changes: - version: v10.9.0 pr-url: https://github.com/nodejs/node/pull/21616 - description: allow both url and options to be passed to `https.request()` + description: The `url` parameter can now be passed along with a separate + `options` object. - version: v9.3.0 pr-url: https://github.com/nodejs/node/pull/14903 description: The `options` parameter can now include `clientCertEngine`.