davical/testing/tests/regression-suite/0303-Chandler-PROPFIND-1.test
2010-04-29 11:21:05 +12:00

19 lines
603 B
Plaintext

#
# Chandler expects to find the calendar. Here it confirms
# that it actually is one.
#
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home/
HEADER=Depth: 0
HEADER=Content-Type: text/xml; charset=utf-8
HEADER=Chandler/0.7alpha4 (Linux)
HEAD
BEGINDATA
<?xml version='1.0' encoding='UTF-8'?>
<ns0:propfind xmlns:ns0="DAV:"><ns0:prop><ns0:getetag /><ns0:resourcetype /><ns0:displayname /></ns0:prop></ns0:propfind>
ENDDATA
# REPLACE=/^ETag: "[0-9a-f]{32}"/ETag: "deadbeefcafef00ddeadbeefcafefeed"/
# REPLACE=/<get.tag>"[0-9a-f]{32}"<.get.tag>/<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>/