mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-20 06:09:32 +00:00
A basic regression test for the expand-property report.
This commit is contained in:
parent
cfa9b42c1d
commit
1d939a7d46
@ -0,0 +1,47 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||||
|
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol
|
||||||
|
Allow: OPTIONS, PROPFIND, REPORT, DELETE, LOCK, UNLOCK, MOVE, GET, PUT, HEAD
|
||||||
|
ETag: "d2647e4027425f0fe49ad06b992e27e4"
|
||||||
|
Content-Length: 943
|
||||||
|
Content-Type: text/xml; charset="utf-8"
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<multistatus xmlns="DAV:">
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/user1/home/</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<group-membership>
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/resmgr1/</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||||
|
<resourcetype>
|
||||||
|
<collection/>
|
||||||
|
<principal/>
|
||||||
|
</resourcetype>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/teamclient1/</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||||
|
<resourcetype>
|
||||||
|
<collection/>
|
||||||
|
<principal/>
|
||||||
|
</resourcetype>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
</group-membership>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
#
|
||||||
|
# expand-property REPORT
|
||||||
|
#
|
||||||
|
TYPE=REPORT
|
||||||
|
URL=http://regression.host/caldav.php/user1/home/
|
||||||
|
HEADER=Content-Type: text/xml; charset="UTF-8"
|
||||||
|
HEADER=Depth: 0
|
||||||
|
HEAD
|
||||||
|
|
||||||
|
|
||||||
|
BEGINDATA
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<expand-property xmlns="DAV:">
|
||||||
|
<property name="group-membership" namespace="DAV:">
|
||||||
|
<property name="getcontenttype"/>
|
||||||
|
<property name="resourcetype"/>
|
||||||
|
</property>
|
||||||
|
</expand-property>
|
||||||
|
ENDDATA
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user