MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _build_proxy_map

Function _build_proxy_map

src/api/admin.py:240–244  ·  view source on GitHub ↗
(proxy_url: str)

Source from the content-addressed store, hash-verified

238
239
240def _build_proxy_map(proxy_url: str) -> Optional[Dict[str, str]]:
241 normalized = (proxy_url or "").strip()
242 if not normalized:
243 return None
244 return {"http": normalized, "https": normalized}
245
246
247def _normalize_http_base_url(base_url: str) -> str:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected