spec/integration/draft06_spec.rb in em-websocket-0.5.1 vs spec/integration/draft06_spec.rb in em-websocket-0.5.2
- old
+ new
@@ -24,9 +24,10 @@
:protocol => "HTTP/1.1 101 Switching Protocols\r\n",
:headers => {
"Upgrade" => "websocket",
"Connection" => "Upgrade",
"Sec-WebSocket-Accept" => "s3pPLMBiTxaQ9kYGzzhZRbK+xOo=",
+ "Sec-WebSocket-Protocol" => "sample",
}
}
end
def start_client