From 4e41ee2fac6fde6620d468032adf57e6d94a07b7 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Tue, 31 Jan 2023 01:04:50 +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 --- 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 1b0006750ceac6..7e2e13c38cd799 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`. * `requireHostHeader` {boolean} It forces the server to respond with a 400 (Bad Request) status code to any HTTP/1.1 request message that lacks a Host header (as mandated by the specification). @@ -3246,7 +3247,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 `; `.