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

Method do_GET

packages/python/test/fixtures/45-api-dir-files/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 2

writeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected