You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: #19457
PR-URL: #19502
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
v9.8.0
node/lib/_http_client.js
Line 141 in 27ba6e2
This should be
options.setHost !== false
so I can do the following:Currently, I have to do the following:
In other words, setting
setHost
totrue
causes the "Host" header to not be set to a default value. This is confusing behavior.The text was updated successfully, but these errors were encountered: