New regression tests and updated results.

This commit is contained in:
Andrew McMillan 2009-12-28 00:22:38 +13:00
parent 6269980fd5
commit 583cd5e1f2
40 changed files with 1777 additions and 117 deletions

View File

@ -1,8 +1,8 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "c3a398e212672c218ea97a56017b1166"
Content-Length: 1535
ETag: "ae6b3ed31d2295a38ad54bdf12fe02a7"
Content-Length: 1655
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -40,6 +40,11 @@ Content-Type: text/xml; charset="utf-8"
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>

View File

@ -7,12 +7,45 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
@ -86,6 +119,40 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>user1 home</displayname>

View File

@ -7,12 +7,45 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
@ -86,6 +119,40 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>User 1</displayname>

View File

@ -7,18 +7,69 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
<ace>
@ -68,6 +119,22 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>DAViCal CalDAV Server</displayname>

View File

@ -7,27 +7,26 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/assistant1/</href>
</principal>
<grant>
<privilege>
<read/>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
@ -47,74 +46,6 @@
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/teamclient1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>DAViCal CalDAV Server</displayname>
<getcontentlanguage/>
<getcontenttype>httpd/unix-directory</getcontenttype>
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
<resourcetype>
<collection/>
</resourcetype>
<supportedlock>
<lockentry>
<lockscope>
<exclusive/>
</lockscope>
<locktype>
<write/>
</locktype>
</lockentry>
</supportedlock>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<getcontentlength/>
<getetag/>
<lockdiscovery/>
<source/>
<checked-in/>
<checked-out/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/user1/</href>
<propstat>
<prop>
<acl>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
@ -188,6 +119,209 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>DAViCal CalDAV Server</displayname>
<getcontentlanguage/>
<getcontenttype>httpd/unix-directory</getcontenttype>
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
<resourcetype>
<collection/>
</resourcetype>
<supportedlock>
<lockentry>
<lockscope>
<exclusive/>
</lockscope>
<locktype>
<write/>
</locktype>
</lockentry>
</supportedlock>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<getcontentlength/>
<getetag/>
<lockdiscovery/>
<source/>
<checked-in/>
<checked-out/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/user1/</href>
<propstat>
<prop>
<acl>
<ace>
<principal>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/assistant1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/teamclient1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>User 1</displayname>
@ -318,15 +452,45 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
@ -420,6 +584,43 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>Resource 1</displayname>
@ -462,15 +663,45 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
@ -564,6 +795,43 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>Resource 2</displayname>

View File

@ -1,22 +1,9 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "5b4357910a12e12f5780ce1861e912dc"
Content-Length: 393
ETag: "07474790757c5e1b526ce4901889d6d3"
Content-Length: 68
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<C:calendar-home-set>
<href>/caldav.php/user1/</href>
</C:calendar-home-set>
<displayname>User 1</displayname>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
<multistatus xmlns="DAV:"/>

View File

@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "1959f23de5a6bd3c525c504c09804d15"
ETag: "d7563f78faaadf67e4dbde9fc2ada5a7"
Content-Length: 1226
Content-Type: text/xml; charset="utf-8"
@ -16,8 +16,8 @@ Content-Type: text/xml; charset="utf-8"
</C:calendar-home-set>
<displayname>User 1</displayname>
<resourcetype>
<principal/>
<collection/>
<principal/>
</resourcetype>
<principal-URL>
<href>/caldav.php/user1/</href>

View File

@ -19,7 +19,7 @@ BEGINDATA
<prop>
<displayname/>
</prop>
<match>user1</match>
<match>user 1</match>
</property-search>
<prop>
<C:calendar-home-set/>

View File

@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "d047d6bb34fe6e227afcb6ca4336883b"
ETag: "a6dbbd586976d9978572b451ef5d39a3"
Content-Length: 923
Content-Type: text/xml; charset="utf-8"
@ -16,8 +16,8 @@ Content-Type: text/xml; charset="utf-8"
</C:calendar-home-set>
<displayname>Resource Managers</displayname>
<resourcetype>
<principal/>
<collection/>
<principal/>
</resourcetype>
<principal-URL>
<href>/caldav.php/resmgr1/</href>

View File

@ -19,7 +19,7 @@ BEGINDATA
<prop>
<displayname/>
</prop>
<match>resmgr1</match>
<match>Source Man</match>
</property-search>
<prop>
<C:calendar-home-set/>

View File

@ -7,12 +7,45 @@
<acl>
<ace>
<principal>
<authenticated/>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
@ -86,6 +119,40 @@
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>
<displayname>User 1</displayname>

View File

@ -1,8 +1,8 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "7bb4b23aad9dc0617c966e0c8fc04bc3"
Content-Length: 1157
ETag: "8d5e76c5b7b5676fc36e38cfad77c5db"
Content-Length: 1277
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -26,6 +26,11 @@ Content-Type: text/xml; charset="utf-8"
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>

View File

@ -1,8 +1,8 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "3633f78583024cb6699239efbba3ec94"
Content-Length: 1454
ETag: "6b4e073faec32eb35d9de94349f13161"
Content-Length: 1574
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -37,6 +37,11 @@ Content-Type: text/xml; charset="utf-8"
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>

View File

@ -1,8 +1,8 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "abd3df8ba7b00d965c7a77b891cb4e16"
Content-Length: 1850
ETag: "33e7543461d094c89b014d7985fa5a0f"
Content-Length: 1970
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -34,6 +34,11 @@ Content-Type: text/xml; charset="utf-8"
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>

View File

@ -1,8 +1,8 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "134b9fb41e6c5b7354bdd0389bf219f2"
Content-Length: 1539
ETag: "4d13193fda49c2ab5c78fa9664df25cc"
Content-Length: 1659
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -36,6 +36,11 @@ Content-Type: text/xml; charset="utf-8"
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>

View File

@ -1,8 +1,8 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "945223598c3b28fe6cbf9c6e6b74da04"
Content-Length: 1542
ETag: "c9507e3664a6fb8e5f929c860ab1974e"
Content-Length: 1662
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
@ -36,6 +36,11 @@ Content-Type: text/xml; charset="utf-8"
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>

View File

@ -0,0 +1,136 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "ad3defe4bec3b3af2799d11bf03c5f40"
Content-Length: 4144
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<response>
<href>/caldav.php/</href>
<propstat>
<prop>
<supported-privilege-set>
<supported-privilege>
<privilege>
<all/>
</privilege>
<supported-privilege>
<privilege>
<read/>
</privilege>
<description>Read the content of a resource or collection</description>
</supported-privilege>
<supported-privilege>
<privilege>
<write/>
</privilege>
<supported-privilege>
<privilege>
<bind/>
</privilege>
<description>Create a resource or collection</description>
</supported-privilege>
<supported-privilege>
<privilege>
<unbind/>
</privilege>
<description>Delete a resource or collection</description>
</supported-privilege>
<supported-privilege>
<privilege>
<write-content/>
</privilege>
<description>Write content</description>
</supported-privilege>
<supported-privilege>
<privilege>
<write-properties/>
</privilege>
<description>Write properties</description>
</supported-privilege>
</supported-privilege>
<supported-privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<description>Read the free/busy information for a calendar collection</description>
</supported-privilege>
<supported-privilege>
<privilege>
<read-acl/>
</privilege>
<description>Read ACLs for a resource or collection</description>
</supported-privilege>
<supported-privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<description>Read the details of the current user's access control to this resource.</description>
</supported-privilege>
<supported-privilege>
<privilege>
<write-acl/>
</privilege>
<description>Write ACLs for a resource or collection</description>
</supported-privilege>
<supported-privilege>
<privilege>
<unlock/>
</privilege>
<description>Remove a lock</description>
</supported-privilege>
<supported-privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<supported-privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<description>Deliver scheduling invitations from an organiser to this scheduling inbox</description>
</supported-privilege>
<supported-privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<description>Deliver scheduling replies from an attendee to this scheduling inbox</description>
</supported-privilege>
<supported-privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<description>Allow free/busy enquiries targeted at the owner of this scheduling inbox</description>
</supported-privilege>
</supported-privilege>
<supported-privilege>
<privilege>
<C:schedule-send/>
</privilege>
<supported-privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<description>Send scheduling invitations as an organiser from the owner of this scheduling outbox.</description>
</supported-privilege>
<supported-privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<description>Send scheduling replies as an attendee from the owner of this scheduling outbox.</description>
</supported-privilege>
<supported-privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
<description>Send free/busy enquiries</description>
</supported-privilege>
</supported-privilege>
</supported-privilege>
</supported-privilege-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,20 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<supported-privilege-set/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,162 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "3c91706759f813f5818c9b8c0ce93749"
Content-Length: 3241
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<response>
<href>/caldav.php/</href>
<propstat>
<prop>
<acl>
<ace>
<principal>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/caldav.php/assistant1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/caldav.php/teamclient1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</grant>
</ace>
</acl>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
<inherited-acl-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,22 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<acl/>
<current-user-privilege-set/>
<inherited-acl-set/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,168 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "086405bbb629ed2167aa99d2f293cd2c"
Content-Length: 3430
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<acl>
<ace>
<principal>
<owner/>
</principal>
<grant>
<privilege>
<all/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<write-acl/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/caldav.php/assistant1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<href>/caldav.php/teamclient1/</href>
</principal>
<grant>
<privilege>
<read/>
</privilege>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
</grant>
</ace>
<ace>
<principal>
<authenticated/>
</principal>
<grant>
<privilege>
<C:read-free-busy/>
</privilege>
<privilege>
<C:schedule-deliver/>
</privilege>
<privilege>
<C:schedule-deliver-invite/>
</privilege>
<privilege>
<C:schedule-deliver-reply/>
</privilege>
<privilege>
<C:schedule-query-freebusy/>
</privilege>
<privilege>
<C:schedule-send/>
</privilege>
<privilege>
<C:schedule-send-invite/>
</privilege>
<privilege>
<C:schedule-send-reply/>
</privilege>
<privilege>
<C:schedule-send-freebusy/>
</privilege>
</grant>
</ace>
</acl>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,20 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<acl/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,22 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "b7aa82d645859eafdf0c41ad74490024"
Content-Length: 309
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<acl-restrictions>
<grant-only/>
<no-invert/>
</acl-restrictions>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,20 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<acl-restrictions/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,19 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "049914e7ea4ed4db2a7a2a1c2494e0d4"
Content-Length: 250
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<inherited-acl-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,20 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<inherited-acl-set/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,19 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "5ff44edb9e8734dee700ac29aa6df3be"
Content-Length: 255
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/</href>
<propstat>
<prop>
<inherited-acl-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,20 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/home/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<inherited-acl-set/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,21 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "0c6459e59e9b002c2a4519db2b28f562"
Content-Length: 341
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
<propstat>
<prop>
<inherited-acl-set>
<href>/caldav.php/user1/home/</href>
</inherited-acl-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,20 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/home/20061101T073004Z.ics
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<inherited-acl-set/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,26 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "8073d2f394ea97ba89104f1834ad6c58"
Content-Length: 386
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<inherited-acl-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<acl/>
<current-user-privilege-set/>
</prop>
<status>HTTP/1.1 403 Forbidden</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,24 @@
#
# PROPFIND looking for supported-methods supported-reports etc
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=Depth: 0
HEAD
AUTH=user5:user5
BEGINDATA
<?xml version="1.0" encoding="UTF-8" ?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<acl/>
<current-user-privilege-set/>
<inherited-acl-set/>
</prop>
</propfind>
ENDDATA

View File

@ -0,0 +1,39 @@
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
Etag: "c3658901fd4689d4a1e1d6f08601ef4f"
Content-Length: 828
Content-Type: text/calendar; charset="utf-8"
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
X-LIC-LOCATION:Pacific/Auckland
BEGIN:STANDARD
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
TZNAME:NZST
DTSTART:19700315T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
TZNAME:NZDT
DTSTART:19701004T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
SUMMARY:Busy
CLASS:CONFIDENTIAL
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
20061101T100000
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
20061101T110000
UID:20061101T073000Z-10468-1000-1-7@ubu
END:VEVENT
END:VCALENDAR

View File

@ -0,0 +1,13 @@
#
# GET attempt against a URL we don't have access to
#
TYPE=GET
URL=http://regression.host/caldav.php/user1/home/20061101T073004Z.ics
HEAD
AUTH=user5:user5
BEGINDATA
ENDDATA

View File

@ -0,0 +1,166 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "63123b75248ffab16849fec6c2e2846d"
Content-Length: 3880
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<C1:calendar-user-address-set>
<href>mailto:user1@example.net</href>
<href>/caldav.php/user1/</href>
</C1:calendar-user-address-set>
<displayname>User 1</displayname>
<principal-URL>
<href>/caldav.php/user1/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:email-address-set/>
<C1:calendar-user-type/>
<C:last-name/>
<C:first-name/>
<C:record-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user2/</href>
<propstat>
<prop>
<C1:calendar-user-address-set>
<href>mailto:user2@example.net</href>
<href>/caldav.php/user2/</href>
</C1:calendar-user-address-set>
<displayname>User 2</displayname>
<principal-URL>
<href>/caldav.php/user2/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:email-address-set/>
<C1:calendar-user-type/>
<C:last-name/>
<C:first-name/>
<C:record-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user3/</href>
<propstat>
<prop>
<C1:calendar-user-address-set>
<href>mailto:user3@example.net</href>
<href>/caldav.php/user3/</href>
</C1:calendar-user-address-set>
<displayname>User 3</displayname>
<principal-URL>
<href>/caldav.php/user3/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:email-address-set/>
<C1:calendar-user-type/>
<C:last-name/>
<C:first-name/>
<C:record-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user4/</href>
<propstat>
<prop>
<C1:calendar-user-address-set>
<href>mailto:user4@example.net</href>
<href>/caldav.php/user4/</href>
</C1:calendar-user-address-set>
<displayname>User 4</displayname>
<principal-URL>
<href>/caldav.php/user4/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:email-address-set/>
<C1:calendar-user-type/>
<C:last-name/>
<C:first-name/>
<C:record-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user5/</href>
<propstat>
<prop>
<C1:calendar-user-address-set>
<href>mailto:user5@example.net</href>
<href>/caldav.php/user5/</href>
</C1:calendar-user-address-set>
<displayname>User 5</displayname>
<principal-URL>
<href>/caldav.php/user5/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:email-address-set/>
<C1:calendar-user-type/>
<C:last-name/>
<C:first-name/>
<C:record-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/User%20Six/</href>
<propstat>
<prop>
<C1:calendar-user-address-set>
<href>mailto:user6@example.net</href>
<href>/caldav.php/User%20Six/</href>
</C1:calendar-user-address-set>
<displayname>User 6</displayname>
<principal-URL>
<href>/caldav.php/User%20Six/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:email-address-set/>
<C1:calendar-user-type/>
<C:last-name/>
<C:first-name/>
<C:record-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,54 @@
#
# Do a principal-property-search REPORT request
TYPE=REPORT
URL=http://regression.host/caldav.php/
HEAD
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7
HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HEADER=Accept-Language: en-us,en;q=0.5
HEADER=Accept-Encoding: gzip,deflate
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER=Content-Type: text/xml
HEADER=Depth: 0
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<principal-property-search xmlns="DAV:" xmlns:CalDAV="urn:ietf:params:xml:ns:caldav" xmlns:CS="http://calendarserver.org/ns/" type="INDIVIDUAL" test="anyof">
<property-search>
<prop>
<displayname/>
</prop>
<match match-type="starts-with">user</match>
</property-search>
<property-search>
<prop>
<CS:email-address-set/>
</prop>
<match match-type="starts-with">user</match>
</property-search>
<property-search>
<prop>
<CS:first-name/>
</prop>
<match match-type="starts-with">user</match>
</property-search>
<property-search>
<prop>
<CS:last-name/>
</prop>
<match match-type="starts-with">user</match>
</property-search>
<prop>
<CS:email-address-set/>
<CalDAV:calendar-user-address-set/>
<CalDAV:calendar-user-type/>
<displayname/>
<CS:last-name/>
<CS:first-name/>
<CS:record-type/>
<principal-URL/>
</prop>
</principal-property-search>
ENDDATA

View File

@ -0,0 +1,25 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "2fd111eb3507f4af36d65e9516255fa9"
Content-Length: 470
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<principal-search-property-set xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<principal-search-property>
<prop>
<displayname/>
</prop>
</principal-search-property>
<principal-search-property>
<prop>
<C:calendar-home-set/>
</prop>
</principal-search-property>
<principal-search-property>
<prop>
<C:calendar-user-address-set/>
</prop>
</principal-search-property>
</principal-search-property-set>

View File

@ -0,0 +1,13 @@
#
# Do a principal-search-property-set REPORT request
TYPE=REPORT
URL=http://regression.host/caldav.php/
HEAD
HEADER=Content-Type: text/xml
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<principal-search-property-set xmlns="DAV:"/>
ENDDATA

View File

@ -0,0 +1,32 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "4801fed73bca80f8f4b91b3d69dd2454"
Content-Length: 649
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<C:calendar-user-address-set>
<href>mailto:user1@example.net</href>
<href>/caldav.php/user1/</href>
</C:calendar-user-address-set>
<displayname>User 1</displayname>
<principal-URL>
<href>/caldav.php/user1/</href>
</principal-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:calendar-user-type/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,26 @@
#
# Do a principal-property-search REPORT request
TYPE=REPORT
URL=http://regression.host/caldav.php/
HEAD
HEADER=Content-Type: text/xml
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<principal-property-search xmlns="DAV:" xmlns:CalDAV="urn:ietf:params:xml:ns:caldav">
<property-search>
<prop>
<CalDAV:calendar-user-address-set/>
</prop>
<match>user1@ex</match>
</property-search>
<prop>
<CalDAV:calendar-user-address-set/>
<CalDAV:calendar-user-type/>
<displayname/>
<principal-URL/>
</prop>
</principal-property-search>
ENDDATA