1ff0b9d4ffc9afdc7fc6ba94035b2180bad2b42e
Litestar validates that handlers with 204 status codes cannot return a response body. The delete_attachment handler was declared as -> Response and returned Response(content=None, status_code=204), which caused ImproperlyConfiguredException at startup and crashed all workers. Change return type to None and move status_code to the @delete decorator. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
17 MiB
Languages
TypeScript
98%
CSS
1.1%
JavaScript
0.6%
Dockerfile
0.1%