Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using self.request._cookies in WS handlers.

  • Loading branch information...
commit a16d5e34abf523519bcc22afc86862f3c35655cf 1 parent 3168128
@ellisonbg ellisonbg authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/frontend/html/notebook/handlers.py
View
2  IPython/frontend/html/notebook/handlers.py
@@ -222,7 +222,7 @@ def _inject_cookie_message(self, msg):
# 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)
Please sign in to comment.
Something went wrong with that request. Please try again.