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:
parent
76f7adfed4
commit
b8627c33fb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue