Commit e0f94c9
doc: add array type in http request headers
Document that the headers option in http.request() can be either an
object or an array of strings, similar to message.rawHeaders.
PR-URL: #58049
Fixes: #57986
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>1 parent 18cf9a3 commit e0f94c9
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3818 | 3818 | | |
3819 | 3819 | | |
3820 | 3820 | | |
3821 | | - | |
| 3821 | + | |
| 3822 | + | |
3822 | 3823 | | |
3823 | 3824 | | |
3824 | 3825 | | |
| |||
4273 | 4274 | | |
4274 | 4275 | | |
4275 | 4276 | | |
| 4277 | + | |
4276 | 4278 | | |
4277 | 4279 | | |
4278 | 4280 | | |
| |||
0 commit comments