MCPcopy Index your code
hub / github.com/github/copilot-sdk / _send

Method _send

python/e2e/test_copilot_request_handler_e2e.py:95–100  ·  view source on GitHub ↗
(self, status: int, content_type: str, body: bytes)

Source from the content-addressed store, hash-verified

93 pass
94
95 def _send(self, status: int, content_type: str, body: bytes) -> None:
96 self.send_response(status)
97 self.send_header("content-type", content_type)
98 self.send_header("content-length", str(len(body)))
99 self.end_headers()
100 self.wfile.write(body)
101
102 def _route(self) -> None:
103 path = self.path.split("?", 1)[0].lower()

Callers 1

_routeMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected