Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0553-iPhone-PROPFIND.test
blob4c5db4ed5b4885f05dffdcbf11f2e6c4f35d60a7
2 # Testing with a process similar to iPhone 3.1
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 goes to the calendar-home-set and checks
16 # what is available under that collection.
18 BEGINDATA
19 <?xml version="1.0" encoding="utf-8"?>
20 <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">
21  <x0:prop>
22   <x0:displayname/>
23   <x1:calendar-description/>
24   <x2:getctag/>
25   <x3:calendar-color/>
26   <x1:supported-calendar-component-set/>
27   <x0:resourcetype/>
28   <x0:current-user-privilege-set/>
29  </x0:prop>
30 </x0:propfind>
31 ENDDATA