mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Merge pull request #1370 from minrk/draft76
allow draft76 websockets (Safari)
This commit is contained in:
commit
cd0810ee25
@ -393,6 +393,14 @@ class ZMQStreamHandler(websocket.WebSocketHandler):
|
||||
else:
|
||||
self.write_message(msg)
|
||||
|
||||
def allow_draft76(self):
|
||||
"""Allow draft 76, until browsers such as Safari update to RFC 6455.
|
||||
|
||||
This has been disabled by default in tornado in release 2.2.0, and
|
||||
support will be removed in later versions.
|
||||
"""
|
||||
return True
|
||||
|
||||
|
||||
class AuthenticatedZMQStreamHandler(ZMQStreamHandler):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user