mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-02 16:20:34 +00:00
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
#
|
|
# 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/20101013 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-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
|