Skip to content

Commit 12c6bba

Browse files
committed
fix https.md
1 parent 00e957e commit 12c6bba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ changes:
33573357

33583358
Since most requests are GET requests without bodies, Node.js provides this
33593359
convenience method. The only difference between this method and
3360-
[`http.request()`][] is that it sets the method to GET and calls `req.end()`
3360+
[`http.request()`][] is that it sets the method to GET by default and calls `req.end()`
33613361
automatically. The callback must take care to consume the response
33623362
data for reasons stated in [`http.ClientRequest`][] section.
33633363

doc/api/https.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ changes:
296296

297297
* `url` {string | URL}
298298
* `options` {Object | string | URL} Accepts the same `options` as
299-
[`https.request()`][], with the `method` always set to `GET`.
299+
[`https.request()`][], with the method set to GET by default.
300300
* `callback` {Function}
301301

302302
Like [`http.get()`][] but for HTTPS.

0 commit comments

Comments
 (0)