doc: fix ambiguity in http.md and https.md

PR-URL: https://github.com/nodejs/node/pull/48692
Fixes: https://github.com/nodejs/node/issues/48688
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
an5er
2023-07-08 17:25:27 +08:00
committed by Luigi Pinca
parent 6c8fd6f563
commit 8610be7bc4
2 changed files with 3 additions and 4 deletions

View File

@@ -296,7 +296,7 @@ changes:
* `url` {string | URL}
* `options` {Object | string | URL} Accepts the same `options` as
[`https.request()`][], with the `method` always set to `GET`.
[`https.request()`][], with the method set to GET by default.
* `callback` {Function}
Like [`http.get()`][] but for HTTPS.