Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0501-iCal-PROPFIND.test
blob003f3ef4d84653734ec06c7878f3bd4b1ca19b0a
2 # Testing with a process similar to iCal 3 (preferably 3.0.1+)
4 TYPE=PROPFIND
5 URL=http://regression.host/caldav.php/user1/
6 HEAD
8 HEADER=User-Agent: DAVKit/2.0 (10.5; wrbt) iCal 3.0
9 HEADER=Content-Type: text/xml
10 HEADER=Depth: 0
13 # This query from iCal seems to discover several things.  Firstly they
14 # get the calendar-home-set URL for this path.  Secondly, they ascertain
15 # whether the calendar supports scheduling, and finally, whether it
16 # handles some Apple-specific extensions.
18 BEGINDATA
19 <?xml version="1.0" encoding="utf-8"?>
20 <x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">
21  <x0:prop>
22   <x1:calendar-home-set/>
23   <x1:calendar-user-address-set/>
24   <x1:schedule-inbox-URL/>
25   <x1:schedule-outbox-URL/>
26   <x2:dropbox-home-URL/>
27   <x2:notifications-URL/>
28   <x0:displayname/>
29  </x0:prop>
30 </x0:propfind>
31 ENDDATA