Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOneNail <onenail@yeah.net>2022-05-02 20:48:13 +0300
committerGitHub <noreply@github.com>2022-05-02 20:48:13 +0300
commit916a13a8a36debd9c9ce393bf1edd543ee75d449 (patch)
tree23841cac9d8b44f0e48d34e3b39295068384b680 /doc
parentacffd3d9e657c7013f32665a118772dc1576dfab (diff)
http2: compat support for array headers
PR-URL: https://github.com/nodejs/node/pull/42901 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 2a7311c73f6..80c4c658edf 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -3985,7 +3985,7 @@ changes:
* `statusCode` {number}
* `statusMessage` {string}
-* `headers` {Object}
+* `headers` {Object|Array}
* Returns: {http2.Http2ServerResponse}
Sends a response header to the request. The status code is a 3-digit HTTP