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',
};