preflight request fix

This commit is contained in:
Brahim Hadriche committed 2025-09-10 12:40:37 -04:00
1 parent 612615e8ae
commit 09a6585618
4 files changed
+6 -12

No files matched your search

@@ -41,7 +41,7 @@ namespace Http
response.headers["Connection"] = "Upgrade"
response.headers["Upgrade"] = "websocket"
response.headers["Sec-WebSocket-Accept"] = webSocketAccept
response.header_only = true
response.ClearBody()
' We want this connection to be upgraded to a WebSocket connection
' The connection will stop being handled by the HTTP server and will be handled by the WebSocket server