1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Merge branch 'remupdate' of https://github.com/Unrud/Radicale into Unrud-remupdate

This commit is contained in:
Guillaume Ayoub 2016-08-26 22:50:26 +02:00
commit 9e78454da2
2 changed files with 2 additions and 28 deletions

View file

@ -612,10 +612,7 @@ class Application:
if tag:
parent_item.set_meta({"tag": tag})
href = posixpath.basename(path.strip("/"))
if item:
new_item = parent_item.update(href, items[0])
else:
new_item = parent_item.upload(href, items[0])
new_item = parent_item.upload(href, items[0])
headers = {"ETag": new_item.etag}
return client.CREATED, headers, None