Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0503-iCal-PROPFIND.test
blob2eaf1fbfc4e1052a996348fa8c450cd5b89d02de
2 # Testing with a process similar to iCal 10.5
4 TYPE=PROPFIND
5 URL=http://regression.host/caldav.php/user1/home/
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
12 BEGINDATA
13 <?xml version="1.0" encoding="utf-8"?>
14 <x0:propfind xmlns:x1="http://calendarserver.org/ns/" xmlns:x0="DAV:" xmlns:x2="http://apple.com/ns/ical/" xmlns:x3="urn:ietf:params:xml:ns:caldav">
15  <x0:prop>
16   <x0:displayname/>
17   <x1:getctag/>
18   <x2:calendar-color/>
19   <x3:calendar-description/>
20   <x0:resourcetype/>
21  </x0:prop>
22 </x0:propfind>
23 ENDDATA
25 # REPLACE=/^ETag: "[0-9a-f]{32}"/ETag: "deadbeefcafef00ddeadbeefcafefeed"/
26 # REPLACE=/<A:getctag>"[0-9a-f]{32}"<.A:getctag>/<A:getctag>"deadbeefcafef00ddeadbeefcafefeed"<.A:getctag>/