This commit is contained in:
Guillaume Ayoub
2016-04-08 15:05:56 +02:00
2 changed files with 15 additions and 10 deletions

View File

@@ -514,9 +514,8 @@ class Application(object):
headers = {
"DAV": "1, 2, 3, calendar-access, addressbook, extended-mkcol",
"Content-Type": "text/xml"}
collections = set(read_collections + write_collections)
answer = xmlutils.propfind(
environ["PATH_INFO"], content, collections, user)
environ["PATH_INFO"], content, read_collections, write_collections, user)
return client.MULTI_STATUS, headers, answer
def do_PROPPATCH(self, environ, read_collections, write_collections,