mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-20 01:44:15 +00:00
New test for iCal like PROPFIND on /
This commit is contained in:
parent
7189617334
commit
3eaa0ab627
30
testing/tests/regression-suite/511-iCal-PROPFIND.result
Normal file
30
testing/tests/regression-suite/511-iCal-PROPFIND.result
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||||
|
DAV: 1, access-control
|
||||||
|
ETag: "d87ada45ea684066e06cb14779b80ea4"
|
||||||
|
Content-Length: 755
|
||||||
|
Content-Type: text/xml; charset="utf-8"
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<multistatus xmlns="DAV:">
|
||||||
|
<response>
|
||||||
|
<href>http://mycaldav/</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<displayname>DAViCal_CalDAV_Server</displayname>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<calendar-home-set xmlns="urn:ietf:params:xml:ns:caldav"/>
|
||||||
|
<calendar-user-address-set xmlns="urn:ietf:params:xml:ns:caldav"/>
|
||||||
|
<schedule-inbox-url xmlns="urn:ietf:params:xml:ns:caldav"/>
|
||||||
|
<schedule-outbox-url xmlns="urn:ietf:params:xml:ns:caldav"/>
|
||||||
|
<dropbox-home-url xmlns="http://calendarserver.org/ns/"/>
|
||||||
|
<notifications-url xmlns="http://calendarserver.org/ns/"/>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 404 Not Found</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
25
testing/tests/regression-suite/511-iCal-PROPFIND.test
Normal file
25
testing/tests/regression-suite/511-iCal-PROPFIND.test
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#
|
||||||
|
# Testing with a process similar to iCal 10.5
|
||||||
|
#
|
||||||
|
TYPE=PROPFIND
|
||||||
|
URL=http://mycaldav/
|
||||||
|
HEAD
|
||||||
|
|
||||||
|
HEADER=User-Agent: DAVKit/2.0 (10.5; wrbt) iCal 3.0
|
||||||
|
HEADER=Content-Type: text/xml
|
||||||
|
HEADER=Depth: 0
|
||||||
|
|
||||||
|
BEGINDATA
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">
|
||||||
|
<x0:prop>
|
||||||
|
<x1:calendar-home-set/>
|
||||||
|
<x1:calendar-user-address-set/>
|
||||||
|
<x1:schedule-inbox-URL/>
|
||||||
|
<x1:schedule-outbox-URL/>
|
||||||
|
<x2:dropbox-home-URL/>
|
||||||
|
<x2:notifications-URL/>
|
||||||
|
<x0:displayname/>
|
||||||
|
</x0:prop>
|
||||||
|
</x0:propfind>
|
||||||
|
ENDDATA
|
||||||
Loading…
x
Reference in New Issue
Block a user