davical/testing/tests/binding/1302-PROPFIND-external.result
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
This allows us to have more complex test files where an action is taken, then
we test something, then another action is taken, etc.

Changes to test files are required so that URL is defined after all the
required settings are set.

Changes to the result files are either whitespace changes due to above logic
changes, or printing out a SQL Result header before each result. I figured it
was useful.
2024-04-01 22:57:10 +13:00

489 lines
12 KiB
Plaintext

HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
Content-Location: /caldav.php/teamclient1/
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
ETag: "ac625cb5a5ff728cc50520d0aaae27dd"
Content-Length: 11956
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" xmlns:X="http://xmlns.davical.org/davical" xmlns:C2="urn:ietf:params:xml:ns:carddav">
<response>
<href>/caldav.php/teamclient1/</href>
<propstat>
<prop>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
<displayname>Team for Client1</displayname>
<C:getctag>"002aad3bf49fc30b841eedc6eb9d4206"</C:getctag>
<owner>
<href>/caldav.php/teamclient1/</href>
</owner>
<resource-id>
<href>/caldav.php/.resources/1013</href>
</resource-id>
<resourcetype>
<collection/>
<principal/>
</resourcetype>
<C1:schedule-default-calendar-URL>
<href>/caldav.php/teamclient1/home/</href>
</C1:schedule-default-calendar-URL>
<supported-report-set>
<supported-report>
<report>
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>
</report>
</supported-report>
<supported-report>
<report>
<principal-match/>
</report>
</supported-report>
<supported-report>
<report>
<sync-collection/>
</report>
</supported-report>
</supported-report-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/teamclient1/Moon/</href>
<propstat>
<prop>
<add-member>
<href>/caldav.php/teamclient1/Moon/?add_member</href>
</add-member>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
<displayname>Moon</displayname>
<C:getctag>"4998d2df79f8f730e2f56f4d715bdba8"</C:getctag>
<owner>
<href>/caldav.php/.external/127bf0002abfcecbe9203a3015c9b54f</href>
</owner>
<resource-id>
<href>/caldav.php/.resources/1057</href>
</resource-id>
<resourcetype>
<collection/>
<C1:calendar/>
<X:webdav-binding/>
</resourcetype>
<C1:schedule-default-calendar-URL>
<href>/caldav.php/</href>
</C1:schedule-default-calendar-URL>
<C1:supported-calendar-component-set>
<C1:comp name="VEVENT"/>
<C1:comp name="VTODO"/>
<C1:comp name="VJOURNAL"/>
</C1:supported-calendar-component-set>
<supported-report-set>
<supported-report>
<report>
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>
</report>
</supported-report>
<supported-report>
<report>
<principal-match/>
</report>
</supported-report>
<supported-report>
<report>
<sync-collection/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-query/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-multiget/>
</report>
</supported-report>
<supported-report>
<report>
<C1:free-busy-query/>
</report>
</supported-report>
</supported-report-set>
<sync-token>data:,7</sync-token>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/teamclient1/home/</href>
<propstat>
<prop>
<add-member>
<href>/caldav.php/teamclient1/home/?add_member</href>
</add-member>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
</current-user-privilege-set>
<displayname>teamclient1 home</displayname>
<C:getctag>"edc1a74f98499d4a547a7c23125cabf2"</C:getctag>
<owner>
<href>/caldav.php/teamclient1/</href>
</owner>
<resource-id>
<href>/caldav.php/.resources/450</href>
</resource-id>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<C1:schedule-default-calendar-URL>
<href>/caldav.php/teamclient1/home/</href>
</C1:schedule-default-calendar-URL>
<C1:supported-calendar-component-set>
<C1:comp name="VEVENT"/>
<C1:comp name="VTODO"/>
<C1:comp name="VJOURNAL"/>
</C1:supported-calendar-component-set>
<supported-report-set>
<supported-report>
<report>
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>
</report>
</supported-report>
<supported-report>
<report>
<principal-match/>
</report>
</supported-report>
<supported-report>
<report>
<sync-collection/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-query/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-multiget/>
</report>
</supported-report>
<supported-report>
<report>
<C1:free-busy-query/>
</report>
</supported-report>
</supported-report-set>
<sync-token>data:,8</sync-token>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/teamclient1/addresses/</href>
<propstat>
<prop>
<add-member>
<href>/caldav.php/teamclient1/addresses/?add_member</href>
</add-member>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
<displayname>teamclient1 addresses</displayname>
<C:getctag>"edc1a74f98499d4a547a7c23125cabf2"</C:getctag>
<owner>
<href>/caldav.php/teamclient1/</href>
</owner>
<resource-id>
<href>/caldav.php/.resources/750</href>
</resource-id>
<resourcetype>
<collection/>
<C2:addressbook/>
</resourcetype>
<C1:schedule-default-calendar-URL>
<href>/caldav.php/teamclient1/home/</href>
</C1:schedule-default-calendar-URL>
<supported-report-set>
<supported-report>
<report>
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>
</report>
</supported-report>
<supported-report>
<report>
<principal-match/>
</report>
</supported-report>
<supported-report>
<report>
<sync-collection/>
</report>
</supported-report>
<supported-report>
<report>
<C2:addressbook-query/>
</report>
</supported-report>
<supported-report>
<report>
<C2:addressbook-multiget/>
</report>
</supported-report>
</supported-report-set>
<sync-token>data:,9</sync-token>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/teamclient1/calendar-proxy-read/</href>
<propstat>
<prop>
<add-member>
<href>/caldav.php/teamclient1/calendar-proxy-read/?add_member</href>
</add-member>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
</current-user-privilege-set>
<displayname>/teamclient1/calendar-proxy-read/</displayname>
<C:getctag>"bfc43198a490f445e8676ca22863d1f1"</C:getctag>
<owner>
<href>/caldav.php/teamclient1/</href>
</owner>
<resourcetype>
<principal/>
<collection/>
<C:calendar-proxy-read/>
</resourcetype>
<C1:schedule-default-calendar-URL>
<href>/caldav.php/teamclient1/home/</href>
</C1:schedule-default-calendar-URL>
<supported-report-set>
<supported-report>
<report>
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>
</report>
</supported-report>
<supported-report>
<report>
<principal-match/>
</report>
</supported-report>
<supported-report>
<report>
<sync-collection/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-query/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-multiget/>
</report>
</supported-report>
<supported-report>
<report>
<C1:free-busy-query/>
</report>
</supported-report>
<supported-report>
<report>
<C2:addressbook-query/>
</report>
</supported-report>
<supported-report>
<report>
<C2:addressbook-multiget/>
</report>
</supported-report>
</supported-report-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/teamclient1/calendar-proxy-write/</href>
<propstat>
<prop>
<add-member>
<href>/caldav.php/teamclient1/calendar-proxy-write/?add_member</href>
</add-member>
<current-user-privilege-set>
<privilege>
<read/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
</current-user-privilege-set>
<displayname>/teamclient1/calendar-proxy-write/</displayname>
<C:getctag>"f869e3b42c47170cd27adae8494859f3"</C:getctag>
<owner>
<href>/caldav.php/teamclient1/</href>
</owner>
<resourcetype>
<principal/>
<collection/>
<C:calendar-proxy-write/>
</resourcetype>
<C1:schedule-default-calendar-URL>
<href>/caldav.php/teamclient1/home/</href>
</C1:schedule-default-calendar-URL>
<supported-report-set>
<supported-report>
<report>
<principal-property-search/>
</report>
</supported-report>
<supported-report>
<report>
<principal-search-property-set/>
</report>
</supported-report>
<supported-report>
<report>
<expand-property/>
</report>
</supported-report>
<supported-report>
<report>
<principal-match/>
</report>
</supported-report>
<supported-report>
<report>
<sync-collection/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-query/>
</report>
</supported-report>
<supported-report>
<report>
<C1:calendar-multiget/>
</report>
</supported-report>
<supported-report>
<report>
<C1:free-busy-query/>
</report>
</supported-report>
<supported-report>
<report>
<C2:addressbook-query/>
</report>
</supported-report>
<supported-report>
<report>
<C2:addressbook-multiget/>
</report>
</supported-report>
</supported-report-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>