MCPcopy Create free account
hub / github.com/Sophomoresty/gemini-web2api / do_OPTIONS

Method do_OPTIONS

gemini_web2api/server.py:77–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 return key in keys
76
77 def do_OPTIONS(self):
78 self.send_response(204)
79 self.send_header("Access-Control-Allow-Origin", "*")
80 self.send_header("Access-Control-Allow-Methods", "GET, POST, OPTIONS")
81 self.send_header("Access-Control-Allow-Headers", "*")
82 self.end_headers()
83
84 def do_GET(self):
85 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected