pub fn default_allowed_hosts(bind: SocketAddr) -> Vec<String>Expand description
Hosts accepted in the Host header when none are configured: loopback names when the
server listens on a loopback address (DNS-rebinding protection for a local file server),
none (validation off, a validating ingress in front) otherwise.