1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Adding the calendar-home-set property management

This commit is contained in:
Guillaume Ayoub 2010-12-29 19:10:56 +01:00
parent 9d508efcd4
commit dcabf4249e

View file

@ -151,6 +151,12 @@ def propfind(path, xml_request, calendar, depth, request):
element.text = "%s://%s%s" % (
request.server.PROTOCOL, request.headers["Host"],
request.path)
elif tag == _tag("C", "calendar-home-set"):
tag = ET.Element(_tag("D", "href"))
tag.text = "%s://%s%s" % (
request.server.PROTOCOL, request.headers["Host"],
request.path)
element.append(tag)
prop.append(element)