Skip to content

Commit aef57cd

Browse files
deokjinkimMylesBorins
authored andcommitted
doc: fix wrong location of requestTimeout's default value
Refs: https://nodejs.org/dist/latest-v19.x/docs/api/http.html#serverrequesttimeout PR-URL: #46423 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 0c2c322 commit aef57cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3235,14 +3235,14 @@ changes:
32353235
* `requestTimeout`: Sets the timeout value in milliseconds for receiving
32363236
the entire request from the client.
32373237
See [`server.requestTimeout`][] for more information.
3238+
**Default:** `300000`.
32383239
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
32393240
headers in a request with `, ` instead of discarding the duplicates.
32403241
See [`message.headers`][] for more information.
32413242
**Default:** `false`.
32423243
* `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class
32433244
to be used. Useful for extending the original `ServerResponse`. **Default:**
32443245
`ServerResponse`.
3245-
**Default:** `300000`.
32463246
* `uniqueHeaders` {Array} A list of response headers that should be sent only
32473247
once. If the header's value is an array, the items will be joined
32483248
using `; `.

0 commit comments

Comments
 (0)