uvicorn
uvicorn copied to clipboard
An ASGI web server, for Python. 🦄
* [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 a test for each...
### Discussed in https://github.com/encode/uvicorn/discussions/1593 Originally posted by **sam-kleiner** August 4, 2022 I would like to add support for [HTTP trailers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer). This is already supported in the [h11 library](https://github.com/python-hyper/h11/blob/master/h11/_events.py#L340) so adding...
### Discussed in https://github.com/encode/starlette/discussions/1748 Originally posted by **galkahana** July 10, 2022 Hi, I noticed that setting properties on request.state results in memory leak. Originally an issue I reported in [fastapi](https://github.com/tiangolo/fastapi/issues/4649#issuecomment-1177181535),...
Bumps [mypy](https://github.com/python/mypy) from 0.961 to 0.971. Commits 1f08cf4 Update version to 0.971 61c0064 Add back workaround to avoid confusing mypy.types and types in pyinfo (#13176) d8d900c Update version to 0.971+dev...
That section is not up-to-date with the current most used technologies. The idea of this issue is to gather information on what people would like to see on that page...
### Checklist - [X] The bug is reproducible against the latest release or `master`. - [X] There are no similar issues or pull requests to fix it yet. ### Describe...
`ca_certs` is plural, but currently does not accept a list of CA certificate paths.
On Windows, using `Process.terminate()` will immediately kill the child process so that the asgi event shutdown cannot be triggered in reloader. This PR is going to implement a graceful exit...
The following snippet cannot be killed with a SIGINT (ctrl+c): ```python import asyncio from starlette.applications import Starlette from uvicorn import Config, Server async def web_ui(): await Server(Config(Starlette())).serve() async def task():...