mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
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.
39 lines
848 B
Plaintext
39 lines
848 B
Plaintext
#
|
|
# Request a REPORT
|
|
#
|
|
TYPE=REPORT
|
|
|
|
HEADER=Accept: text/xml,application/xml
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=Depth: 1
|
|
|
|
# HEAD
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<C:addressbook-query xmlns:D="DAV:"
|
|
xmlns:C="urn:ietf:params:xml:ns:carddav">
|
|
<D:prop>
|
|
<D:getetag/>
|
|
<C:address-data>
|
|
<C:prop name="VERSION"/>
|
|
<C:prop name="UID"/>
|
|
<C:prop name="N"/>
|
|
<C:prop name="NICKNAME"/>
|
|
<C:prop name="EMAIL"/>
|
|
<C:prop name="FN"/>
|
|
</C:address-data>
|
|
<D:getlastmodified/>
|
|
</D:prop>
|
|
<C:filter>
|
|
<C:prop-filter name="NICKNAME">
|
|
<C:text-match collation="i;unicode-casemap"
|
|
match-type="equals"
|
|
>karora</C:text-match>
|
|
</C:prop-filter>
|
|
</C:filter>
|
|
</C:addressbook-query>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user1/addressbook/
|