mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
New test for PROPFIND when running in a subdirectory.
This commit is contained in:
parent
3b7e77e6a4
commit
fb192378a2
31
testing/tests/regression-suite/240-Moz-PROPFIND-sub.result
Normal file
31
testing/tests/regression-suite/240-Moz-PROPFIND-sub.result
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
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
|
||||||
|
ETag: "fc21d204092253020e663874b62da90f"
|
||||||
|
Content-Length: 739
|
||||||
|
Content-Type: text/xml; charset="utf-8"
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||||
|
<response>
|
||||||
|
<href>/davical/caldav.php/user1/</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<C:calendar-home-set>
|
||||||
|
<href>/davical/caldav.php/user1/</href>
|
||||||
|
</C:calendar-home-set>
|
||||||
|
<C:schedule-inbox-URL>
|
||||||
|
<href>/davical/caldav.php/user1/.in/</href>
|
||||||
|
</C:schedule-inbox-URL>
|
||||||
|
<C:schedule-outbox-URL>
|
||||||
|
<href>/davical/caldav.php/user1/.out/</href>
|
||||||
|
</C:schedule-outbox-URL>
|
||||||
|
<C:calendar-user-address-set>
|
||||||
|
<href>mailto:user1@example.net</href>
|
||||||
|
<href>/davical/caldav.php/user1/</href>
|
||||||
|
</C:calendar-user-address-set>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
24
testing/tests/regression-suite/240-Moz-PROPFIND-sub.test
Normal file
24
testing/tests/regression-suite/240-Moz-PROPFIND-sub.test
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#
|
||||||
|
# Check for PROPFIND for scheduing inbox/outbox
|
||||||
|
#
|
||||||
|
TYPE=PROPFIND
|
||||||
|
URL=http://myempty/davical/caldav.php/user1/
|
||||||
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18pre) Gecko/20080917 Sunbird/0.9
|
||||||
|
HEADER=Accept: text/xml
|
||||||
|
HEADER=Accept-Language: en-us,en;q=0.5
|
||||||
|
HEADER=Accept-Encoding: gzip,deflate
|
||||||
|
HEADER=Accept-Charset: utf-8,*;q=0.1
|
||||||
|
HEADER=Content-Type: text/xml; charset=utf-8
|
||||||
|
HEADER=Depth: 0
|
||||||
|
HEAD
|
||||||
|
|
||||||
|
BEGINDATA
|
||||||
|
<D:propfind xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||||
|
<D:prop>
|
||||||
|
<C:calendar-home-set/>
|
||||||
|
<C:calendar-user-address-set/>
|
||||||
|
<C:schedule-inbox-URL/>
|
||||||
|
<C:schedule-outbox-URL/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
|
ENDDATA
|
||||||
Loading…
x
Reference in New Issue
Block a user