File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3818,7 +3818,8 @@ changes:
38183818 * ` family` {number} IP address family to use when resolving ` host` or
38193819 ` hostname` . Valid values are ` 4 ` or ` 6 ` . When unspecified, both IP v4 and
38203820 v6 will be used.
3821- * ` headers` {Object} An object containing request headers.
3821+ * ` headers` {Object|Array} An object or an array of strings containing request
3822+ headers. The array is in the same format as [` message .rawHeaders ` ][].
38223823 * ` hints` {number} Optional [` dns .lookup ()` hints][].
38233824 * ` host` {string} A domain name or IP address of the server to issue the
38243825 request to. **Default:** ` ' localhost' ` .
@@ -4273,6 +4274,7 @@ A browser-compatible implementation of [`WebSocket`][].
42734274[` http .globalAgent ` ]: #httpglobalagent
42744275[` http .request ()` ]: #httprequestoptions-callback
42754276[` message .headers ` ]: #messageheaders
4277+ [` message .rawHeaders ` ]: #messagerawheaders
42764278[` message .socket ` ]: #messagesocket
42774279[` message .trailers ` ]: #messagetrailers
42784280[` net .Server .close ()` ]: net.md#serverclosecallback
You can’t perform that action at this time.
0 commit comments