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 Docs update. This small gotcha stumped me for a few hours and I thought it worth adding to the documentation. The separation of responsibility between uvicorn and Starlette...

# Summary rfc9110 obsoletes the earlier rfc 7231. This document also includes some status codes that were previously only used for WebDAV and assigns more generic names to these status...

Hi , am using `asgi-logger` and extended `AccessLoggerMiddleware` to customise the logging in the application and when I upgrade fastapi to 0.109.x version getting issue on mypy, any suggestions ?...

This PR updates the documentation for BaseHTTPMiddleware to clarify an important limitation regarding contextvars propagation. The "Limitations" section previously noted that BaseHTTPMiddleware prevents contextvars changes from propagating upwards. This change...

This is a breaking change. This is here first for discussion.

# Summary Add check for uploaded file size on disk against configurable limit. # Checklist - [x] I understand that this PR may be closed in case there was no...

# Summary This PR updates the internal implementation of `UploadFile` to use `anyio.SpooledTemporaryFile[bytes]` instead of a generic `BinaryIO` interface. By using `anyio.SpooledTemporaryFile`, all file operations (`read`, `write`, `seek`) are now...

# Summary Starts on closing out https://github.com/encode/starlette/issues/1921 TODOs: - [ ] Propose updated query/transaction sections # Checklist - [x] I understand that this PR may be closed in case there...

# Summary This PR adds `AsyncTestClient`, an async equivalent of [TestClient](https://github.com/encode/starlette/blob/135e3af00a507714a4e391ab8d11b835399aa1a4/starlette/testclient.py#L360). The `TestClient` runs in a background thread in order to let the application run in the main thread, while...

# Summary This is a solution for cases of ambiguity in the defined routes: Example: we have 2 routes: - /user/{user_id} - /user/myself if i make a request to /user/myself,...