davical/testing/tests/regression-suite/552-iPhone-PROPFIND.test

33 lines
893 B
Plaintext

#
# Testing with a process similar to iPhone 3
#
TYPE=PROPFIND
URL=http://mycaldav/principals/users/user1/
HEAD
AUTH=user1:user1
HEADER=User-Agent: DAVKit/4.0 (728.3); iCalendar/1 (34); iPhone/3.0 7A341
HEADER=Content-Type: text/xml
#
# This query from the iPhone 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