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

Because the test client calls `loop.run_until_complete(connection(receive, send))`, I cannot use anything that modifies the event loop in a pytest fixture without getting `RuntimeError: This event loop is already running`. I...

testclient

After the previous attempt #1377 , this PR will allow StaticFiles to follow symlinks outside the directory. Fixes https://github.com/encode/starlette/issues/1083 Thanks to @Kludex and @m1ckey

hold

Starlette is a web framework that supports both async and sync functions. The sync part code runs in a threadpool. The threadpool contains a maximum number of threads: 40. https://github.com/agronholm/anyio/blob/4f3a8056a8b14dbe43c95039a0d731ede1083cb7/src/anyio/_backends/_asyncio.py#L2071-L2077...

documentation
good first issue

I need to implement a decorator for an endpoint, and for some technical reasons, I would like to implement it with a class. I also would like my decorator to...

feature
help wanted

Closes #1286 Instead of adding middleware to each `BaseRoute`, we can add it to `Router`. This can then be composed with `Mount` and such to get middleware for a single...

feature

### Checklist - [X] The bug is reproducible against the latest release and/or `master`. - [X] There are no similar issues or pull requests to fix it yet. ### Describe...

testclient

### Checklist - [x] The bug is reproducible against the latest release and/or `master`. - [x] There are no similar issues or pull requests to fix it yet. ### Describe...

staticfiles

✨ Remove body from requests with a status code that don't allow it This will solve/prevent errors in Uvicorn caused by Starlette sending invalid responses. Closes https://github.com/encode/starlette/issues/1764, also probably solves/related...

- [X] Initially raised as issue #1336 ## Rationale This is an exploratory work as how to solve issue #1336. The issue details the problem quite well but in a...

### Checklist - [x] The bug is reproducible against the latest release and/or `master`. - [x] There are no similar issues or pull requests to fix it yet. ### Describe...

bug
refactor
help wanted