MCPcopy
hub / github.com/fastapi/fastapi / no_body_status_code_exception

Function no_body_status_code_exception

tests/test_starlette_exception.py:23–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22@app.get("/http-no-body-statuscode-exception")
23async def no_body_status_code_exception():
24 raise HTTPException(status_code=204)
25
26
27@app.get("/http-no-body-statuscode-with-detail-exception")

Callers

nothing calls this directly

Calls 1

HTTPExceptionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…