mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-29 15:51:27 +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.
33 lines
883 B
Plaintext
33 lines
883 B
Plaintext
#
|
|
# Testing with a process similar to iCal 3 (preferably 3.0.1+)
|
|
#
|
|
TYPE=PROPFIND
|
|
HEAD
|
|
|
|
HEADER=User-Agent: DAVKit/2.0 (10.5; wrbt) iCal 3.0
|
|
HEADER=Content-Type: text/xml
|
|
HEADER=Depth: 0
|
|
|
|
#
|
|
# This query from iCal seems to discover several things. Firstly they
|
|
# get the calendar-home-set URL for this path. Secondly, they ascertain
|
|
# whether the calendar supports scheduling, and finally, whether it
|
|
# handles some Apple-specific extensions.
|
|
#
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">
|
|
<x0:prop>
|
|
<x1:calendar-home-set/>
|
|
<x1:calendar-user-address-set/>
|
|
<x1:schedule-inbox-URL/>
|
|
<x1:schedule-outbox-URL/>
|
|
<x2:dropbox-home-URL/>
|
|
<x2:notifications-URL/>
|
|
<x0:displayname/>
|
|
</x0:prop>
|
|
</x0:propfind>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user1/
|