MCPcopy Create free account
hub / github.com/vercel/examples / do_GET

Method do_GET

python/hello-world/api/index.py:5–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3class handler(BaseHTTPRequestHandler):
4
5 def do_GET(self):
6 self.send_response(200)
7 self.send_header('Content-type','text/plain')
8 self.end_headers()
9 self.wfile.write('Hello, world!'.encode('utf-8'))
10 return

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected