MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / setup

Method setup

e2e/mcp-conformance/host-bridge.py:102–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100
101class Handler(BaseHTTPRequestHandler):
102 def setup(self) -> None:
103 super().setup()
104 self.connection.settimeout(REQUEST_BODY_TIMEOUT_SECONDS)
105
106 def send_json(self, status: int, body: dict[str, object]) -> None:
107 encoded = json.dumps(body).encode("utf-8")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected