1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

prevent overwriting collections when uploading

This commit is contained in:
Unrud 2018-08-18 14:08:02 +02:00
parent 76f7adfed4
commit b8627c33fb

View file

@ -284,6 +284,7 @@ function upload_collection(user, password, collection_href, file, callback) {
callback(request.status + " " + request.statusText);
}
};
request.setRequestHeader("If-None-Match", "*");
request.send(file);
return request;
}