(url: str)
| 654 | upstream = connection.upstream |
| 655 | |
| 656 | def _upstream_is_local(url: str) -> bool: |
| 657 | host = (urlparse(url).hostname or "").lower() |
| 658 | return host in {"localhost", "127.0.0.1", "0.0.0.0", "::1"} |
| 659 | |
| 660 | def _local_proxy_no_proxy_warning() -> str | None: |
| 661 | local_targets = [ |
no outgoing calls
no test coverage detected