We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f55c36 commit 10a8d3cCopy full SHA for 10a8d3c
src/WebSocketsClient.cpp
@@ -393,8 +393,9 @@ void WebSocketsClient::sendHeader(WSclient_t * client) {
393
394
String handshake = "GET " + client->cUrl + " HTTP/1.1\r\n"
395
"Host: " + _host + ":" + _port + "\r\n"
396
- "Upgrade: websocket\r\n"
397
"Connection: Upgrade\r\n"
+ "Upgrade: websocket\r\n"
398
+ "Origin: file://\r\n"
399
"User-Agent: arduino-WebSocket-Client\r\n"
400
"Sec-WebSocket-Version: 13\r\n"
401
"Sec-WebSocket-Key: " + client->cKey + "\r\n";
0 commit comments