Skip to content

Commit 82ee782

Browse files
authored
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 <[email protected]> Reviewed-By: theanarkh <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 13cab1c commit 82ee782

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
@@ -3239,6 +3239,7 @@ changes:
32393239
* `requestTimeout`: Sets the timeout value in milliseconds for receiving
32403240
the entire request from the client.
32413241
See [`server.requestTimeout`][] for more information.
3242+
**Default:** `300000`.
32423243
* `requireHostHeader` {boolean} It forces the server to respond with
32433244
a 400 (Bad Request) status code to any HTTP/1.1 request message
32443245
that lacks a Host header (as mandated by the specification).
@@ -3250,7 +3251,6 @@ changes:
32503251
* `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class
32513252
to be used. Useful for extending the original `ServerResponse`. **Default:**
32523253
`ServerResponse`.
3253-
**Default:** `300000`.
32543254
* `uniqueHeaders` {Array} A list of response headers that should be sent only
32553255
once. If the header's value is an array, the items will be joined
32563256
using `; `.

0 commit comments

Comments
 (0)