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

Method do_GET

packages/python/test/fixtures/01-cowsay/api/index.py:7–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5class handler(BaseHTTPRequestHandler):
6
7 def do_GET(self):
8 self.send_response(200)
9 self.send_header('Content-type', 'text/plain')
10 self.end_headers()
11 message = cow.Cowacter().milk('pip:RANDOMNESS_PLACEHOLDER')
12 self.wfile.write(message.encode())
13 return

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected