Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cookie message must not be empty

SockJS seems to ignore empty messages
  • Loading branch information...
commit ba8a5daa71a8cc232887486cbac17f2af859db42 1 parent 2c59943
Min RK authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/frontend/html/notebook/static/js/kernel.js
2  IPython/frontend/html/notebook/static/js/kernel.js
View
@@ -130,7 +130,7 @@ var IPython = (function (IPython) {
this.shell_channel = new this.WebSocket(ws_url + "/shell/websocket");
this.iopub_channel = new this.WebSocket(ws_url + "/iopub/websocket");
send_cookie = function(){
- this.send(document.cookie);
+ this.send(document.cookie || ' ');
};
var already_called_onclose = false; // only alert once
ws_closed_early = function(evt){
Please sign in to comment.
Something went wrong with that request. Please try again.