starlette icon indicating copy to clipboard operation
starlette copied to clipboard

The little ASGI framework that shines. 🌟

Results 165 starlette issues
Sort by recently updated
recently updated
newest added

# Summary This PR uses the [blockbuster](https://github.com/cbornet/blockbuster) library to detect blocking calls made in the asyncio event loop during unit tests. Avoiding blocking calls is hard as these can be...

# Summary This PR allows customization of the router and route classes used by Starlette. It introduces flexibility by enabling users to subclass `Starlette` and `Router` to specify custom implementations,...

# Summary Change the exception raised if we attempt to use a disconnected WebSocket from `RuntimeError` to `WebSocketDisconnected`. Discussed in https://github.com/encode/starlette/discussions/2762 Issue https://github.com/encode/starlette/issues/2766 # Checklist - [x] I understand that...

FileNotFoundError can be processed in exception_handlers # Summary Avoid handling FileNotFoundError in FileResponse. This allows FileNotFoundError to be properly handled using exception_handlers, for example, by returning a 404 error when...

# Summary Change the caching validation precedence to comply with HTTP RFC: https://datatracker.ietf.org/doc/html/rfc7232#section-6 The issue was that it must not check the "If-Modified-Since" header when the "If-None-Match" is set. It...

# Summary In some of my FastAPI applications I have found the need for a relative URL function that gives you a URL that is only the path, query and...

# Summary If user code is raising ExceptionGroups eg from TaskGroups or otherwise, they should get ExceptionGroups raised. There could also be important notes attached. # Checklist - [x] I...

Pulling this issue out from a seperate thread here... https://github.com/encode/starlette/pull/704#issuecomment-550247190 How do we best guide users around project layouts? * `starlette init`. * Pointers towards how to clone existing layouts....

# Summary Replaces the generic `RuntimeError` with [WebSocketDisconnect](cci:2://file:///c:/Users/manas/Downloads/createpr/starlette/starlette/websockets.py:19:0-22:34) (code 1006) when attempting to [send](cci:1://file:///c:/Users/manas/Downloads/createpr/starlette/starlette/websockets.py:58:4-97:48) or [receive](cci:1://file:///c:/Users/manas/Downloads/createpr/starlette/starlette/websockets.py:34:4-56:48) messages on a WebSocket connection that has already been closed. This improves error handling...