starlette
starlette copied to clipboard
The little ASGI framework that shines. 🌟
# Summary [Issue](https://github.com/encode/starlette/issues/2452) # Checklist - [ ] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!) - [...
# Summary There have been many comments asking contributors to merge lines where possible such as [this one](https://github.com/encode/starlette/pull/2471#discussion_r1477417360). There is an option available in the Ruff formatter to do this...
# Summary https://github.com/encode/starlette/discussions/2389 I modified __setattr__ to preserve the behavior of the existing State. Although assignment performance has slowed down compared to before, the rest of the performance significantly improves....
# Summary Allows callables that handle Exception subtypes to pass the type checker (mypy/pyright), eg: this will now correctly type check: ```python from starlette.applications import Request, Starlette from starlette.responses import...
- Closes https://github.com/encode/starlette/issues/51 I've tried to be careful on the commit sequence here - each commit passes the pipeline by itself. - This PR follows the same strategy as `httpcore`...
### Discussed in https://github.com/encode/starlette/discussions/2018 Originally posted by **sm-Fifteen** January 27, 2023 The way SessionMiddleware currently works is that it encodes session data in a signed base64 object with timestamp, in...
### Discussed in https://github.com/encode/starlette/discussions/1516 Originally posted by **aviramha** April 5, 2020 As discussed in the Gitter, my opinion is that starlette should provide a default limit for request size. The...
Runs lifespans of mounted apps. Fixes issue #649.