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 @@ -3820,7 +3820,8 @@ changes:
3820
3820
* ` family` {number} IP address family to use when resolving ` host` or
3821
3821
` hostname` . Valid values are ` 4 ` or ` 6 ` . When unspecified, both IP v4 and
3822
3822
v6 will be used.
3823
- * ` headers` {Object} An object containing request headers.
3823
+ * ` headers` {Object|Array} An object or an array of strings containing request
3824
+ headers. The array is in the same format as [` message .rawHeaders ` ][].
3824
3825
* ` hints` {number} Optional [` dns .lookup ()` hints][].
3825
3826
* ` host` {string} A domain name or IP address of the server to issue the
3826
3827
request to. **Default:** ` ' localhost' ` .
@@ -4275,6 +4276,7 @@ A browser-compatible implementation of [`WebSocket`][].
4275
4276
[` http .globalAgent ` ]: #httpglobalagent
4276
4277
[` http .request ()` ]: #httprequestoptions-callback
4277
4278
[` message .headers ` ]: #messageheaders
4279
+ [` message .rawHeaders ` ]: #messagerawheaders
4278
4280
[` message .socket ` ]: #messagesocket
4279
4281
[` message .trailers ` ]: #messagetrailers
4280
4282
[` net .Server .close ()` ]: net.md#serverclosecallback
You can’t perform that action at this time.
0 commit comments