Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0552-iPhone-PROPFIND.test
blob2093c8814166391f68998790d8e45c147e7a100a
2 # Testing with a process similar to iPhone 3
4 TYPE=PROPFIND
5 URL=http://regression.host/principals/users/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
14 # This query from the iPhone seems to discover several things.  Firstly they
15 # get the calendar-home-set URL for this path.  Secondly, they ascertain
16 # whether the calendar supports scheduling, and finally, whether it
17 # handles some Apple-specific extensions.
19 BEGINDATA
20 <?xml version="1.0" encoding="utf-8"?>
21 <x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">
22  <x0:prop>
23   <x1:calendar-home-set/>
24   <x1:calendar-user-address-set/>
25   <x1:schedule-inbox-URL/>
26   <x1:schedule-outbox-URL/>
27   <x2:dropbox-home-URL/>
28   <x2:notifications-URL/>
29   <x0:displayname/>
30  </x0:prop>
31 </x0:propfind>
32 ENDDATA