parent
63b99b614c
commit
c201982598
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue