We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58edc91 commit 275a2b5Copy full SHA for 275a2b5
tests/frontendIntegration/fastapi-server/app.py
@@ -386,6 +386,12 @@ def session_claim_error_api(_session: SessionContainer = Depends(verify_session(
386
return JSONResponse({})
387
388
389
+@app.post("/403-without-body")
390
+def without_body_403():
391
+ # send 403 without body
392
+ return PlainTextResponse(content=None, status_code=403)
393
+
394
395
@app.options("/testing")
396
def testing_options():
397
return send_options_api_response()
0 commit comments