Add support for resource-id and parent-set properties.

This commit is contained in:
Andrew McMillan committed 2010-03-18 13:21:19 +13:00
1 parent 897ace4f1d
commit 8fc2a76cea
3 files changed
+82 -2

No files matched your search

@@ -5,6 +5,10 @@
<propstat>
<prop>
<displayname>User 4</displayname>
<resource-id>
<href>/caldav.php/.resources/6</href>
</resource-id>
<parent-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
@@ -14,6 +18,19 @@
<propstat>
<prop>
<displayname>User 2's Calendar, as uploaded by Admin</displayname>
<resource-id>
<href>/caldav.php/.resources/11</href>
</resource-id>
<parent-set>
<parent>
<href>/caldav.php/user2</href>
<segment>home</segment>
</parent>
<parent>
<href>/caldav.php/user4</href>
<segment>user2</segment>
</parent>
</parent-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
@@ -23,6 +40,15 @@
<propstat>
<prop>
<displayname>mir-test</displayname>
<resource-id>
<href>/caldav.php/.resources/13</href>
</resource-id>
<parent-set>
<parent>
<href>/caldav.php/user4</href>
<segment>home</segment>
</parent>
</parent-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
@@ -32,17 +58,41 @@
<propstat>
<prop>
<displayname>/user4/calendar-proxy-read/</displayname>
<parent-set>
<parent>
<href>/caldav.php/user4</href>
<segment>calendar-proxy-read</segment>
</parent>
</parent-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<resource-id/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user4/calendar-proxy-write/</href>
<propstat>
<prop>
<displayname>/user4/calendar-proxy-write/</displayname>
<parent-set>
<parent>
<href>/caldav.php/user4</href>
<segment>calendar-proxy-write</segment>
</parent>
</parent-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<resource-id/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>
@@ -15,6 +15,8 @@ BEGINDATA
<propfind xmlns="DAV:">
<prop>
<displayname/>
<resource-id/>
<parent-set/>
</prop>
</propfind>
ENDDATA