Open
Description
Affected URL(s)
https://nodejs.org/docs/latest/api/http.html#httprequesturl-options-callback
Description of the problem
It appears that the implementation of http.request
allows sending headers as an array of strings, similar to response.writeHead
. However, this feature is not documented. I am wondering if this is an oversight or intentionally left undocumented. If it is not intentional, I would be happy to update the documentation to reflect this functionality. I just wanted to confirm before proceeding.