From 02f2160da546fd9b59eb31ac66a17773b21ef04d 2014-12-07 21:10:15 From: Min RK Date: 2014-12-07 21:10:15 Subject: [PATCH] expect JSON reply to save --- diff --git a/IPython/html/static/services/contents.js b/IPython/html/static/services/contents.js index f9bb1a2..d0de870 100644 --- a/IPython/html/static/services/contents.js +++ b/IPython/html/static/services/contents.js @@ -161,6 +161,7 @@ define([ var settings = { processData : false, type : "PUT", + dataType: "json", data : JSON.stringify(model), contentType: 'application/json', };