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:
parent
9d508efcd4
commit
dcabf4249e
1 changed files with 6 additions and 0 deletions
|
@ -151,6 +151,12 @@ def propfind(path, xml_request, calendar, depth, request):
|
||||||
element.text = "%s://%s%s" % (
|
element.text = "%s://%s%s" % (
|
||||||
request.server.PROTOCOL, request.headers["Host"],
|
request.server.PROTOCOL, request.headers["Host"],
|
||||||
request.path)
|
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)
|
prop.append(element)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue