We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd8e19 commit ff83ffaCopy full SHA for ff83ffa
doc/api/http.md
@@ -3818,7 +3818,7 @@ changes:
3818
* `family` {number} IP address family to use when resolving `host` or
3819
`hostname`. Valid values are `4` or `6`. When unspecified, both IP v4 and
3820
v6 will be used.
3821
- * `headers` {Object} An object containing request headers.
+ * `headers` {Object|Array} An object or an array of strings containing request headers. The array is in the same format as request.rawHeaders.
3822
* `hints` {number} Optional [`dns.lookup()` hints][].
3823
* `host` {string} A domain name or IP address of the server to issue the
3824
request to. **Default:** `'localhost'`.
0 commit comments