MCPcopy Index your code
hub / github.com/masterking32/MasterHttpRelayVPN / do_GET

Method do_GET

apps_script/vps_exit_node.py:230–240  ·  view source on GitHub ↗

Health-check endpoint — returns a friendly JSON status.

(self)

Source from the content-addressed store, hash-verified

228 self.wfile.write(body)
229
230 def do_GET(self): # noqa: N802
231 """Health-check endpoint — returns a friendly JSON status."""
232 self._send_json(
233 200,
234 {
235 "ok": True,
236 "status": "healthy",
237 "message": "VPS exit node is running.",
238 "usage": "Send POST with relay payload for actual proxy requests.",
239 },
240 )
241
242 def do_POST(self): # noqa: N802
243 """Relay endpoint — receives a JSON relay payload, fetches the URL."""

Callers

nothing calls this directly

Calls 1

_send_jsonMethod · 0.95

Tested by

no test coverage detected