mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-24 15:00:16 +00:00
and a few more bits inspired by CalDAV/aclreports.xml:
- strict Depth header checking
- principal-match: match on dav_name if not $match_self
- principal-match can "alternatively" return resources in a collection
that belong to a principal, like a user's calendars when we query
the principal URI
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
HTTP/1.1 207 Multi-Status
|
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
|
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
|
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
|
ETag: "f36602c450120819191b73e42c5fccaa"
|
|
Content-Length: 1717
|
|
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>
|
|
<displayname>User 1</displayname>
|
|
<resourcetype>
|
|
<collection/>
|
|
<principal/>
|
|
</resourcetype>
|
|
<supported-method-set>
|
|
<supported-method name="OPTIONS"/>
|
|
<supported-method name="PROPFIND"/>
|
|
<supported-method name="REPORT"/>
|
|
<supported-method name="DELETE"/>
|
|
<supported-method name="LOCK"/>
|
|
<supported-method name="UNLOCK"/>
|
|
<supported-method name="MOVE"/>
|
|
<supported-method name="GET"/>
|
|
<supported-method name="HEAD"/>
|
|
<supported-method name="MKCOL"/>
|
|
<supported-method name="MKCALENDAR"/>
|
|
<supported-method name="PROPPATCH"/>
|
|
<supported-method name="BIND"/>
|
|
<supported-method name="ACL"/>
|
|
</supported-method-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-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
<propstat>
|
|
<prop>
|
|
<C:supported-calendar-component-set/>
|
|
</prop>
|
|
<status>HTTP/1.1 404 Not Found</status>
|
|
</propstat>
|
|
</response>
|
|
</multistatus>
|