mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-22 14:40:38 +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
73 lines
2.1 KiB
Plaintext
73 lines
2.1 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: "be682462fd8bacf3d7189fbac09a7af5"
|
|
Content-Length: 1805
|
|
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/.in/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>User 1 Inbox</displayname>
|
|
<resourcetype>
|
|
<collection/>
|
|
<C:schedule-inbox/>
|
|
</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="PUT"/>
|
|
<supported-method name="HEAD"/>
|
|
<supported-method name="MKTICKET"/>
|
|
<supported-method name="DELTICKET"/>
|
|
<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>
|
|
<C:supported-calendar-component-set>
|
|
<C:comp name="VEVENT"/>
|
|
<C:comp name="VTODO"/>
|
|
<C:comp name="VFREEBUSY"/>
|
|
</C:supported-calendar-component-set>
|
|
<C:supported-calendar-data>text/calendar</C:supported-calendar-data>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
</multistatus>
|