helpers/network.py.dox.md
network.py helper module.network.py because this directory is intentionally flat.network.py owns the runtime implementation.network.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.HttpFetchResult (no explicit base class)UnsafeUrlError (ValueError)_build_request_headers() -> dict[str, str]_normalize_content_type(content_type: str | None) -> str | Noneresolve_host_ips(hostname: str) -> tuple[ipaddress._BaseAddress, ...]validate_public_http_url(url: str) -> tuple[ipaddress._BaseAddress, ...]fetch_public_http_resource(url: str, max_bytes: int, max_redirects: int=..., timeout: tuple[float, float]=...) -> HttpFetchResultis_loopback_address(address: str) -> bool: Check whether address resolves to a loopback interface.SAFE_HTTP_SCHEMES, DEFAULT_FETCH_TIMEOUT, DEFAULT_HTTP_USER_AGENT.__future__, dataclasses, ipaddress, os, requests, socket, struct, urllib.parse.frozenset, dataclass, strip, urlparse, parsed.hostname.rstrip.lower, resolve_host_ips, requests.Session, ValueError, content_type.split.strip.lower, socket.getaddrinfo, ipaddress.ip_address, seen.add, UnsafeUrlError, hostname.endswith, validate_public_http_url, socket.inet_pton, _checkers, parsed.hostname.rstrip, os.getenv, content_type.split.strip.tests/test_oauth_gemini_api.pytests/test_oauth_github_copilot.pytests/test_oauth_xai_grok.pytests/test_plugin_scan_prompt.pytests/test_tunnel_remote_link.pyNo child DOX files.