should_allow_host
should_allow_host
Check if a host is in the allowed hosts list.
Parameters
host
The hostname to check.
Returns
bool — True if the host is allowed (or if allowed_hosts contains "*").
should_allow_host
Check if a host is in the allowed hosts list.
The hostname to check.
bool — True if the host is allowed (or if allowed_hosts contains "*").