mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
Merge pull request #6951 from ccordoba12/fix-draft76
Websockets are not started correctly on QtWebKit 4
This commit is contained in:
commit
e1f4a76ea1
@ -69,8 +69,7 @@ class AllowDraftWebSocketHandler(WebSocketHandler):
|
||||
self.stream.set_close_callback(self.on_connection_close)
|
||||
|
||||
if self.request.headers.get("Sec-WebSocket-Version") in ("7", "8", "13"):
|
||||
self.ws_connection = WebSocketProtocol13(
|
||||
self, compression_options=self.get_compression_options())
|
||||
self.ws_connection = WebSocketProtocol13(self)
|
||||
self.ws_connection.accept_connection()
|
||||
#--------------- BEGIN PATCH ----------------
|
||||
elif (self.allow_draft76() and
|
||||
|
Loading…
x
Reference in New Issue
Block a user