From aef57cd290f5b1b4c20c91a2f3ac6c4de276af76 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Fri, 3 Feb 2023 23:51:55 +0900 Subject: [PATCH] doc: fix wrong location of `requestTimeout`'s default value Refs: https://nodejs.org/dist/latest-v19.x/docs/api/http.html#serverrequesttimeout PR-URL: https://github.com/nodejs/node/pull/46423 Reviewed-By: Paolo Insogna Reviewed-By: theanarkh Reviewed-By: Zeyu "Alex" Yang Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P Reviewed-By: James M Snell --- doc/api/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http.md b/doc/api/http.md index b9b243ae4fc7da..faab84319bee46 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3235,6 +3235,7 @@ changes: * `requestTimeout`: Sets the timeout value in milliseconds for receiving the entire request from the client. See [`server.requestTimeout`][] for more information. + **Default:** `300000`. * `joinDuplicateHeaders` {boolean} It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates. See [`message.headers`][] for more information. @@ -3242,7 +3243,6 @@ changes: * `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`. **Default:** `ServerResponse`. - **Default:** `300000`. * `uniqueHeaders` {Array} A list of response headers that should be sent only once. If the header's value is an array, the items will be joined using `; `.