MCPcopy Create free account
hub / github.com/Louisym/MiniCC / do_GET

Method do_GET

tutorials/14b_networking_for_engineers.py:183–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181
182 class MyHandler(BaseHTTPRequestHandler):
183 def do_GET(self):
184 self.send_response(200)
185 self.send_header("Content-Type", "text/plain")
186 self.end_headers()
187 self.wfile.write(b"Hello from stdlib server!")
188
189 def log_message(self, format, *args):
190 pass # 静默日志

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected