← Về thư mục
openai4s/share/fetch.py
- BundleFetchError · class · L20-L21 — class BundleFetchError(ValueError)
- _validate_url · function · L24-L41 — def _validate_url(url: str, *, allow_insecure: bool) -> tuple[str, str, int, str]
- _reject_private · function · L44-L63 — def _reject_private(host: str) -> None
- normalize_share_url · function · L66-L73 — def normalize_share_url(url: str) -> str
- fetch_bundle · function · L76-L122 — def fetch_bundle( url: str, *, allow_insecure: bool = False, max_bytes: int = MAX_BUNDLE_BYTES, timeout: float = 120.0, ) -> bytes