mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-04 16:40:18 +00:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
#
|
|
# Request a REPORT for a property with multiple values, where one has the
|
|
# parameter defined, the other has not -> must not return a match
|
|
#
|
|
# (Jonny2 has two TEL properties, one of which has a TYPE parameter.
|
|
# Therefore, Jonny2 must not match the is-not-defined filter)
|
|
#
|
|
TYPE=REPORT
|
|
URL=http://regression.host/caldav.php/user5/addresses/
|
|
|
|
HEADER=Accept: text/xml,application/xml
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=Depth: 1
|
|
|
|
AUTH=user5:user5
|
|
|
|
# HEAD
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0"?>
|
|
<CARDDAV:addressbook-query xmlns:DAV="DAV:" xmlns:CARDDAV="urn:ietf:params:xml:ns:carddav" xmlns:CS="http://calendarserver.org/ns/">
|
|
<DAV:prop>
|
|
<DAV:getetag/>
|
|
<CARDDAV:address-data>
|
|
<CARDDAV:prop name="VERSION"/>
|
|
<CARDDAV:prop name="FN"/>
|
|
<CARDDAV:prop name="TEL"/>
|
|
</CARDDAV:address-data>
|
|
</DAV:prop>
|
|
<CARDDAV:filter test="anyof">
|
|
<CARDDAV:prop-filter name="TEL" test="anyof">
|
|
<CARDDAV:param-filter name="TYPE">
|
|
<CARDDAV:is-not-defined/>
|
|
</CARDDAV:param-filter>
|
|
</CARDDAV:prop-filter>
|
|
</CARDDAV:filter>
|
|
</CARDDAV:addressbook-query>
|
|
ENDDATA
|
|
|
|
REPLACE=_<getetag>"[0-9a-f]+"</getetag>_<getetag>some valid etag</getetag>_
|
|
REPLACE=/^REV:.*$/REV:date/
|