commit
4c2edaabc2
|
@ -46,7 +46,7 @@ from websockify.websocketserver import WebSocketRequestHandlerMixIn
|
||||||
|
|
||||||
class CompatibleWebSocket(WebSocket):
|
class CompatibleWebSocket(WebSocket):
|
||||||
def select_subprotocol(self, protocols):
|
def select_subprotocol(self, protocols):
|
||||||
# Handle old websockify clients that still specifiy a sub-protocol
|
# Handle old websockify clients that still specify a sub-protocol
|
||||||
if 'binary' in protocols:
|
if 'binary' in protocols:
|
||||||
return 'binary'
|
return 'binary'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue