Normalize hostname to lowercase for case-insensitive matching.
(hostname: str)
| 5 | |
| 6 | |
| 7 | def normalize_hostname(hostname: str) -> str: |
| 8 | """Normalize hostname to lowercase for case-insensitive matching.""" |
| 9 | return hostname.lower() |
| 10 | |
| 11 | |
| 12 | def assert_valid_host(name: str) -> None: |
no outgoing calls
no test coverage detected