Skip to content

Commit 13d82d7

Browse files
k4cper-gclaude
andcommitted
Update banner and suppress origin header in CDP websocket connect
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3ff90e7 commit 13d82d7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

assets/banner.png

-8.16 KB
Loading

cup/platforms/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _cdp_connect(ws_url: str, host: str | None = None) -> websocket.WebSocket:
6868
ws_url = urlunparse(parts._replace(netloc=f"{host}:{parts.port}"))
6969
ws = websocket.WebSocket()
7070
ws.settimeout(30)
71-
ws.connect(ws_url)
71+
ws.connect(ws_url, suppress_origin=True)
7272
return ws
7373

7474

0 commit comments

Comments
 (0)