davical/testing/tests/regression-suite/0873-GroupDAV-PROPFIND.test
2013-07-15 13:11:08 +12:00

40 lines
937 B
Plaintext

#
# Testing with a GroupDAV style request for a PROPFIND on the root with a Depth 1
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/
HEAD
AUTH=user1:user1
HEADER=Content-Type: text/xml
HEADER=Depth: 1
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"
xmlns:I="urn:ietf:params:xml:ns:caldav"
xmlns:C="urn:ietf:params:xml:ns:carddav"
xmlns:G="http://groupdav.org/"
xmlns:A="http://calendarserver.org/ns/"
>
<prop>
<displayname/>
<resourcetype/>
<getetag/>
<getcontenttype/>
<current-user-privilege-set/>
<G:component-set/>
<I:supported-calendar-component-set/>
<I:supported-calendar-data/>
<I:calendar-description/>
<C:supported-address-data/>
<C:addressbook-description/>
<A:getctag/>
</prop>
</propfind>
ENDDATA
REPLACE=/ETag: "\S+"/ETag: "some valid etag"/
REPLACE=!C:getctag>\S+</C:getctag!C:getctag>some valid etag</C:getctag!