MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _normalize_url

Method _normalize_url

core/xtream_codes.py:65–69  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

63 self.server_info = None
64
65 def _normalize_url(self, url):
66 normalized = normalize_server_url(url)
67 if not normalized:
68 raise ValueError("Server URL cannot be empty")
69 return normalized
70
71 def _make_request(self, endpoint, params=None):
72 """Make request with detailed error handling"""

Callers 1

__init__Method · 0.95

Calls 1

normalize_server_urlFunction · 0.85

Tested by

no test coverage detected