mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-23 12:49:41 +08:00
Using self.request._cookies in WS handlers.
This commit is contained in:
parent
9b945e7bc2
commit
970742c267
@ -222,7 +222,7 @@ class AuthenticatedZMQStreamHandler(ZMQStreamHandler):
|
||||
# Cookie can't constructor doesn't accept unicode strings for some reason
|
||||
msg = msg.encode('utf8', 'replace')
|
||||
try:
|
||||
self._cookies = Cookie.SimpleCookie(msg)
|
||||
self.request._cookies = Cookie.SimpleCookie(msg)
|
||||
except:
|
||||
logging.warn("couldn't parse cookie string: %s",msg, exc_info=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user