diff --git a/core/modules/savers/put.js b/core/modules/savers/put.js index a1ebef4bb..87fe5f710 100644 --- a/core/modules/savers/put.js +++ b/core/modules/savers/put.js @@ -55,7 +55,7 @@ var PutSaver = function(wiki) { callback: function(err,data,xhr) { // Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1 if(!err) { - self.serverAcceptsPuts = xhr.status === 200 && !!xhr.getResponseHeader("dav"); + self.serverAcceptsPuts = xhr.status >= 200 && xhr.status < 300 && !!xhr.getResponseHeader("dav"); } } });