mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-26 15:20:16 +00:00
Test result of PROPFIND on /
This commit is contained in:
parent
6730055288
commit
9e64d3a5fa
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<response>
|
||||
<href>/caldav.php/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<principal-collection-set>
|
||||
<href>/caldav.php/</href>
|
||||
</principal-collection-set>
|
||||
<current-user-principal>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</current-user-principal>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-description/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
23
testing/tests/regression-suite/0847-Spec-PROPFIND-slash.test
Normal file
23
testing/tests/regression-suite/0847-Spec-PROPFIND-slash.test
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Testing for Spec compliance. PROPFIND on /
|
||||
#
|
||||
TYPE=PROPFIND
|
||||
URL=http://mycaldav/caldav.php/
|
||||
HEADER=User-Agent: RFC2518 Spec Tests
|
||||
HEADER=Depth: 0
|
||||
HEADER=Content-Type: application/xml
|
||||
|
||||
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<propfind xmlns="DAV:"><prop><principal-collection-set/><current-user-principal/><calendar-description xmlns="urn:ietf:params:xml:ns:caldav" /></prop></propfind>
|
||||
ENDDATA
|
||||
#<propfind xmlns="DAV:">
|
||||
# <prop>
|
||||
# <principal-collection-set/>
|
||||
# <current-user-principal/>
|
||||
# <calendar-description xmlns="urn:ietf:params:xml:ns:caldav"/>
|
||||
# </prop>
|
||||
#</propfind>
|
||||
#ENDDATA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user