starlette
starlette copied to clipboard
The little ASGI framework that shines. 🌟
# Summary This PR is related to [this](https://github.com/encode/starlette/pull/2445) issue. Moved all types used inside tests module, in a types module. # Checklist - [ ] I understand that this PR...
Previously, a "No response returned"-error has been discussed in this discussion: https://github.com/encode/starlette/discussions/1527, and was supposedly fixed in this PR: https://github.com/encode/starlette/pull/1715 However, the bug is still present. It's a race condition,...
The goal here is to enable `branch = true` on `tool.coverage.run`. We want to be able to cover all logic paths. > [!IMPORTANT] > - We're using [Polar.sh](https://polar.sh/encode) so you...
# Summary Add test cases to `test_datastructures.py` in order to have 100 coverage. Related to [this issue](https://github.com/encode/starlette/issues/2452) and [this PR](https://github.com/encode/starlette/pull/2503). # Checklist - [ ] I understand that this PR...
Fixes: https://github.com/encode/starlette/issues/2516 If an incoming request is disconnected before a response gets produced, don't raise a RuntimeError. This fixes a race condition that occurs when many `BaseHTTPMiddleware` instances are wrapped...
# Summary # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!) - [x] I've added...
# Summary if the allow_credential is true then handle the Authorization header in CORS request # Checklist - [x] I understand that this PR may be closed in case there...
### Discussed in https://github.com/encode/starlette/discussions/2312 Originally posted by **simon-sk** October 26, 2023 Hi Starlette team, we are experiencing an issue with Starlette where `contextvars` set in a middleware are leaking between...
The idea is to rewrite the databases page on our documentation: https://www.starlette.io/database/ . Instead of recommending `databases`, we should recommend _pure_ `SQLAlchemy`. cc @zzzeek (just pinging to let you know...