diff --git a/core/vendor/davclient.js/lib/client.js b/core/vendor/davclient.js/lib/client.js index 89c11516a38..d3d0a7062c0 100644 --- a/core/vendor/davclient.js/lib/client.js +++ b/core/vendor/davclient.js/lib/client.js @@ -172,7 +172,13 @@ dav.Client.prototype = { for(ii in headers) { xhr.setRequestHeader(ii, headers[ii]); } - xhr.send(body); + + // Work around for edge + if (body === undefined) { + xhr.send(); + } else { + xhr.send(body); + } return new Promise(function(fulfill, reject) {