Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0554-iPhone-PROPFIND.test
blobc9029731e817b21553e4e8ee7faba2a1e278c9b4
2 # Testing with a process similar to iPhone 3
4 TYPE=PROPFIND
5 URL=http://regression.host/caldav.php/user1/
6 HEAD
8 AUTH=user1:user1
10 HEADER=User-Agent: DAVKit/4.0 (728.3); iCalendar/1 (34); iPhone/3.0 7A341
11 HEADER=Content-Type: text/xml
12 HEADER=Depth: 1
15 # This query from the iPhone seems to discover several things.  Firstly they
16 # get the calendar-home-set URL for this path.  Secondly, they ascertain
17 # whether the calendar supports scheduling, and finally, whether it
18 # handles some Apple-specific extensions.
20 BEGINDATA
21 <?xml version="1.0" encoding="utf-8"?>
22 <x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x0="DAV:" xmlns:x3="http://apple.com/ns/ical/" xmlns:x1="urn:ietf:params:xml:ns:caldav">
23  <x0:prop>
24   <x0:displayname/>
25   <x1:calendar-description/>
26   <x2:getctag/>
27   <x3:calendar-color/>
28   <x1:supported-calendar-component-set/>
29   <x0:resourcetype/>
30   <x0:current-user-privilege-set/>
31  </x0:prop>
32 </x0:propfind>
33 ENDDATA