MCPcopy
hub / github.com/sanic-org/sanic / delete

Function delete

tests/test_requests.py:2280–2287  ·  view source on GitHub ↗
(request, foo)

Source from the content-addressed store, hash-verified

2278
2279 @app.delete("/p/<foo>")
2280 async def delete(request, foo):
2281 return json(
2282 {
2283 "name": request.route.name,
2284 "body": str(request.body).replace(" ", ""),
2285 "foo": foo,
2286 }
2287 )
2288
2289 dumps = BaseHTTPResponse._dumps
2290 payload = {"test": "OK"}

Callers

nothing calls this directly

Calls 1

jsonFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…