starlette
starlette copied to clipboard
The little ASGI framework that shines. 🌟
# Summary We've been using Starlette's `WebSocketTestSession` in order to test some sockets on our FastAPI application, and it has worked very well. On our Windows development machines, these tests...
### Discussed in https://github.com/encode/starlette/discussions/2109 Originally posted by **pjknkda** April 3, 2023 According to ASGI specification, `scope["client"]` for HTTP and Websocket protocol should have its host value in either IPv4 or...
The starting point for issues should usually be a discussion... Hi I am from Azure Function team, we are integrating starlette req/response to support http streaming. When streaming upload a...
# Summary There are two changes supporting one aim, if you don't consider that to be atomic I can open two PRs. 1. Support loading files from packages that might...
Bumps the python-packages group with 11 updates: | Package | From | To | | --- | --- | --- | | [coverage](https://github.com/nedbat/coveragepy) | `7.4.3` | `7.5.0` | | [importlib-metadata](https://github.com/python/importlib_metadata)...
# Summary If a static file with a really long name is requested, then it causes an `OSError` to be raised saying "Filename too long". This error currently gets propagated,...
- Retry of https://github.com/encode/starlette/pull/1534. At the time that PR was implemented the `default=` parameter was not available on `TypeVar`, and mypy didn't support it. Now it's possible to achieve what...
Followup to #2576
Refs: https://github.com/encode/httpx/pull/3130 In some places, starlette uses imports from the private API, such as **httpx._client**, which will not work after mere of https://github.com/encode/httpx/pull/3130.
- Issues #[2019 ](https://github.com/encode/starlette/issues/2019) Added same_site for CHIPS cookie support - Discussion #[2441](https://github.com/encode/starlette/discussions/2441) cookies are missing the partitioned option. Updated Documentation for changes Updated Unit Test to include both new...