diff --git a/uvicorn/protocols/websockets/websockets_impl.py b/uvicorn/protocols/websockets/websockets_impl.py index 0fe0b7c3d..95875b1e3 100644 --- a/uvicorn/protocols/websockets/websockets_impl.py +++ b/uvicorn/protocols/websockets/websockets_impl.py @@ -133,6 +133,7 @@ async def process_request(self, path, headers): self.scope = { "type": "websocket", "asgi": {"version": self.config.asgi_version, "spec_version": "2.1"}, + "http_version": "1.1", "scheme": self.scheme, "server": self.server, "client": self.client,