1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-12 20:30:57 +00:00

Add support for Evolution VCard WebDAV

This commit is contained in:
Guillaume Ayoub 2012-01-04 19:47:34 +01:00
parent 8a4be02075
commit b56db741f4
2 changed files with 24 additions and 10 deletions

View file

@ -405,6 +405,7 @@ class Application(object):
def put(self, environ, collections, content, user):
"""Manage PUT request."""
collection = collections[0]
collection.set_mimetype(environ.get("CONTENT_TYPE"))
headers = {}
item_name = xmlutils.name_from_path(environ["PATH_INFO"], collection)
item = collection.get_item(item_name)