Ask a question to get started
Enter to sendā¢Shift+Enter new line
validate_hostname( hostname: str, policy: SSRFPolicy, ) -> None
Validate a hostname against the SSRF policy.
Raises SSRFBlockedError if the hostname is blocked.