mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-30 16:00:25 +00:00
Also a special header is added for telling DAViCal to flush the cache during regression testing etc. Signed-off-by: Andrew McMillan <andrew@morphoss.com>
37 lines
724 B
Plaintext
37 lines
724 B
Plaintext
#
|
|
# Extended MKCOL test - create an addressbook
|
|
#
|
|
TYPE=MKCOL
|
|
URL=http://mycaldav/caldav.php/user1/addressbook/
|
|
HEADER=User-Agent: DAViCalTester/public
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=X-DAViCal-Flush-Cache: true
|
|
|
|
HEAD
|
|
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<mkcol xmlns="DAV:" xmlns:CARD="urn:ietf:params:xml:ns:carddav">
|
|
<set>
|
|
<prop>
|
|
<resourcetype>
|
|
<collection/>
|
|
<CARD:addressbook/>
|
|
</resourcetype>
|
|
<displayname>User 1's Addresses</displayname>
|
|
</prop>
|
|
</set>
|
|
</mkcol>
|
|
ENDDATA
|
|
|
|
|
|
QUERY
|
|
SELECT user_no, parent_container, dav_displayname,
|
|
is_calendar, public_events_only, is_addressbook,
|
|
resourcetypes
|
|
FROM collection
|
|
WHERE dav_name = '/user1/addressbook/';
|
|
ENDQUERY
|
|
|