If set to true
, it forces the server to respond with a 400 (Bad Request) status code to any HTTP/1.1 request message that lacks a Host header (as mandated by the specification).
property
http.ServerOptions.requireHostHeader
requireHostHeader?: boolean