MCPcopy Index your code
hub / github.com/dataease/SQLBot / is_options

Method is_options

backend/apps/system/middleware/auth.py:71–72  ·  view source on GitHub ↗
(self, request: Request)

Source from the content-addressed store, hash-verified

69 return JSONResponse(message, status_code=401, headers={"Access-Control-Allow-Origin": "*"})
70
71 def is_options(self, request: Request):
72 return request.method == "OPTIONS"
73
74 async def validateAskToken(self, askToken: Optional[str], trans: I18n):
75 if not askToken:

Callers 1

dispatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected