Authenticate sockets by header or one-time ticket instead of ?token=

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013GAeg4Jo6xjZzjwy9QDWMQ
This commit is contained in:
2026-10-07 08:58:22 +02:00
co-authored by Claude Opus 5.5
parent eb45fb2763
commit 5259b8db0a
21 changed files with 336 additions and 44 deletions
+1
View File
@@ -521,6 +521,7 @@ async def test_the_live_socket_ends_when_its_client_goes(
def __init__(self) -> None:
self.app = client.app
self.headers: dict[str, str] = {}
self.frames = ['{"type": "media", "names": []}']
self.sent: list[str] = []