MCPcopy Create free account
hub / github.com/JRickey/BattleShip / do_GET

Method do_GET

tools/edit_css_icon.py:64–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 # ---- GET ---------------------------------------------------------------
63
64 def do_GET(self):
65 if self.path in ("/", "/index.html"):
66 self._send(200, "text/html; charset=utf-8", self.html_bytes)
67 elif self.path == "/favicon.ico":
68 self._send(204, "text/plain", b"")
69 else:
70 self._send(404, "text/plain", b"Not found")
71
72 # ---- POST --------------------------------------------------------------
73

Callers

nothing calls this directly

Calls 1

_sendMethod · 0.95

Tested by

no test coverage detected