File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3357,7 +3357,7 @@ changes:
3357
3357
3358
3358
Since most requests are GET requests without bodies, Node.js provides this
3359
3359
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() `
3361
3361
automatically. The callback must take care to consume the response
3362
3362
data for reasons stated in [ ` http.ClientRequest ` ] [ ] section.
3363
3363
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ changes:
296
296
297
297
* ` url ` {string | URL}
298
298
* ` 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 .
300
300
* ` callback ` {Function}
301
301
302
302
Like [ ` http.get() ` ] [ ] but for HTTPS.
You can’t perform that action at this time.
0 commit comments