MCPcopy Index your code
hub / github.com/plotly/dash / _handle_delete

Function _handle_delete

dash/mcp/_server.py:187–193  ·  view source on GitHub ↗

Return 405 for DELETE; the spec allows refusing session teardown.

()

Source from the content-addressed store, hash-verified

185 return resp
186
187 def _handle_delete():
188 """Return 405 for DELETE; the spec allows refusing session teardown."""
189 return app.backend.make_response(
190 json.dumps({"error": "Method not allowed"}),
191 content_type="application/json",
192 status=405,
193 )
194
195 # -- Register routes -----------------------------------------------------
196 # Separate registrations per HTTP method so the handler never needs to

Callers

nothing calls this directly

Calls 1

make_responseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…