doc: add array type in http request headers · nodejs/node@28fddc0 · GitHub
Skip to content

Commit 28fddc0

Browse files
mikawsaduh95
authored andcommitted
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 8bd698b commit 28fddc0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

doc/api/http.md

Lines changed: 3 additions & 1 deletion

0 commit comments

Comments
 (0)