uvicorn icon indicating copy to clipboard operation
uvicorn copied to clipboard

An ASGI web server, for Python. 🦄

Results 207 uvicorn issues
Sort by recently updated
recently updated
newest added

## Checklist - [x] #1640 - [ ] #1639 - [ ] #1642 or #1661 - [x] #1645 - [x] #1652 Diff: https://github.com/encode/uvicorn/compare/0.18.3...master Draft: _missing_

This PR addresses the discussion #1659 (raised by me) and issue #1501. Rationale: As outlined in the discussion and issue above the HTTP/1.x spec allows servers to ignore upgrade requests...

(Fix for https://github.com/encode/uvicorn/issues/1501) MDN (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade) says: _The server can choose to ignore the request, for any reason, in which case it should just respond as though the Upgrade header had...

- Closes #1618 The idea here is to use the `ServerState` object instead of passing the `server_state.default_headers` to the `.default_headers` attribute. ## How to test it? - Use the same...

@Kludex @euri10 Note: this PR obsoletes [this old one](https://github.com/encode/uvicorn/pull/1272), which was closed anyway There were 2 things to fix in https://github.com/encode/uvicorn/issues/1230: - ensure the server can read frames in the...

waiting author

My test code shown below: % ls Dockerfile test.py ```python # test.py import uvicorn from fastapi import FastAPI app = FastAPI() @app.get("/") def root(): return {"hello": "world"} if __name__ ==...

related to https://github.com/encode/uvicorn/issues/111

waiting author

Refer https://github.com/encode/uvicorn/pull/1581 for detailed discussion. Feature Description: This feature fixes the issue that discussed in https://github.com/encode/uvicorn/discussions/1574 Currently it implements support for `no-server-header` for `wsproto` implementations.

websockets

Related to #111 #1636 may be a solution ## Reproducing ### 1. server code ```python import asyncio from fastapi import FastAPI, Request app = FastAPI() # !!!middleware is required to...

need confirmation

### Discussed in https://github.com/encode/uvicorn/discussions/1610 Originally posted by **arjwilliams** August 22, 2022 I am testing out some cache-control headers in my web app, but the auto-generated "Date" header seems to only...

bug