davical/testing/tests/regression-suite/0562-iOS-PROPFIND.test
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
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.
2024-04-01 22:57:10 +13:00

31 lines
752 B
Plaintext

#
# Testing retrieval of the wierd properties we just set
#
TYPE=PROPFIND
HEAD
AUTH=user1:user1
HEADER=User-Agent: DAVKit/4.0 (728.3); iCalendar/1 (34); iPhone/3.0 7A341
HEADER=Content-Type: text/xml
HEADER=Depth: 0
#
# This query from the iPhone goes to the calendar-home-set and checks
# what is available under that collection.
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:" xmlns:x3="http://apple.com/ns/ical/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:D="urn:org:davical">
<x0:prop>
<x1:schedule-default-calendar-URL/>
<x3:calendar-order/>
<x1:supported-calendar-component-set/>
<x0:resourcetype/>
<D:outer/>
</x0:prop>
</x0:propfind>
ENDDATA
URL=http://regression.host/caldav.php/user1/home/