Remove FIXME comment about middleware in server.py

Removed commented out FIXME note regarding middleware issues.
This commit is contained in:
Jeremy Grossmann 2026-06-16 12:20:55 +02:00 committed by GitHub
parent f7abb62603
commit 7d5d4767bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,8 +213,3 @@ async def validation_exception_handler(request: Request, exc: RequestValidationE
status_code=status.HTTP_422_UNPROCESSABLE_CONTENT,
content={"message": str(exc)}
)
# FIXME: do not use this middleware since it creates issue when using StreamingResponse
# see https://starlette-context.readthedocs.io/en/latest/middleware.html#why-are-there-two-middlewares-that-do-the-same-thing