Fixes for Kludex/starlette
Verified fixes and incident notes extracted from GitHub Issues for Kludex/starlette.
Repository
Kludex / starlette
Updated: 2026-02-13
- RuntimeError: Got invalid message type on lifespan protocol "http.response.start"
- Middleware Request parse Hangs forever
- "Task was destroyed but it is pending!" error when middleware dispatch func discards response from call_next
- TestClient.request does not honor timeout
- HTTPConnection::__get_item__ has incorrect type signature
- RedirectResponse call to `quote_plus` replaces spaces & `%20`'s with `+` character
- Disconnect event not received when using TestClient
- Starlette docs has dead links, broken sitemap and missing redirection for http://
- FileResponse Stream continues streaming after http.disconnect
- Starlette 0.15.0 breaks SessionMiddleware by adding ASGI Path for Subroutes using Mount
- Wrong unauthorized WebSocket status code
- Raising Exceptions in sub-applications routes
- Denying WebSocket connection in WebSocketEndpoint.on_connect leads to Exception
- Minimum typing-extensions version is not specified
- Testclient doesn't accept cookies with domain "testserver" in Python < 3.11
- `HTTPMiddleware` breaks `BackgroundTasks` in the same connection
- middleware causes exceptions to not be raised/handled silently (back again)
- incompatible type and expected "type[_MiddlewareClass[[]]]" [arg-type]
- Request Header cookie parsing doesn't follow RFC 7540 spec
- TestClient.__enter__ return type error for subclasses