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

…l (#3048) Hi, this is my first time contribution to open source ever, welcome to all kind feedbacks # Summary `StreamingResponse` and `FileResponse` sent raw `http.response.*` messages during `send_denial_response`, but...

Closes #2019, Requires #3068 # Summary Utilize the new TimestampSigner to obtain timestamp information, and in combination with a simple equality check, reduce the frequency of set-cookie responses. The set-cookie...

# Summary I've always disliked installing itsdangerous dependency just for basic SessionMiddleware functionality. The itsdangerous has lots of features but the amount of functionality needed by starlette is minimal. I...

# Summary Follow up to https://github.com/Kludex/starlette/pull/3065#issuecomment-3484250919 - Reviewed and revised Vary header handling. - Swapped Sequences for Collections that are more generic, and allow for use of sets that have...

# Summary This PR refactors the `GZipMiddleware` to make excluded content types configurable via a constructor parameter instead of using a hardcoded constant. # Checklist - [x] I understand that...

# Summary Looking at the souce for [StaticFiles](https://github.com/encode/starlette/blob/fa5355442753f794965ae1af0f87f9fec1b9a3de/starlette/staticfiles.py#L178-L180), it verifies the timestamp/etag and returns `HTTP 304 - Not Modified` when appropriate. IMHO it would be simpler / more reusable if...

### Discussed in https://github.com/Kludex/starlette/discussions/2562 Originally posted by **patrick91** April 3, 2024 Hi there! I was playing around with `request.state`, and I was wondering if we could make it generic, so...

- Closes https://github.com/Kludex/starlette/issues/3005

# Summary This PR increases test coverage around `request.state` typing usage No documentation update is needed for this PR # Checklist - [x] I understand that this PR may be...