davical/testing/tests/regression-suite/503-iCal-PROPFIND.test
2008-10-26 11:21:41 +13:00

28 lines
750 B
Plaintext

#
# Testing with a process similar to iCal 10.5
#
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home/
HEAD
HEADER=User-Agent: DAVKit/2.0 (10.5; wrbt) iCal 3.0
HEADER=Content-Type: text/xml
HEADER=Depth: 0
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<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">
<x0:prop>
<x0:displayname/>
<x1:getctag/>
<x2:calendar-color/>
<x3:calendar-description/>
<x0:resourcetype/>
</x0:prop>
</x0:propfind>
ENDDATA
# REPLACE=/^ETag: "[0-9a-f]{32}"/ETag: "deadbeefcafef00ddeadbeefcafefeed"/
# REPLACE=/<A:getctag>"[0-9a-f]{32}"<.A:getctag>/<A:getctag>"deadbeefcafef00ddeadbeefcafefeed"<.A:getctag>/