A couple more tests for iCal4 interoperability.

This commit is contained in:
Andrew McMillan 2009-12-23 15:22:01 +13:00
parent c597c571f1
commit 45790cfd48
4 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,22 @@
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
ETag: "dfef5d203b227bafbee76592e8924179"
Content-Length: 291
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/</href>
<propstat>
<prop>
<principal-collection-set>
<href>/</href>
</principal-collection-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,22 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPFIND
URL=http://regression.host/
HEAD
HEADER=User-Agent: DAVKit/4.0.1 (730); CalendarStore/4.0.1 (973); iCal/4.0.1 (1374); Mac OS X/10.6.2 (10C540)
HEADER=Depth: 0
HEADER=Content-Type: text/xml
#
# Finding where to start from
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:">
<x0:prop>
<x0:principal-collection-set/>
</x0:prop>
</x0:propfind>
ENDDATA

View File

@ -0,0 +1,22 @@
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
ETag: "e08b84121b3f5a9294092cd23f6e5798"
Content-Length: 304
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/</href>
<propstat>
<prop>
<current-user-principal>
<href>/caldav.php/user1/</href>
</current-user-principal>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,22 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPFIND
URL=http://regression.host/
HEAD
HEADER=User-Agent: DAVKit/4.0.1 (730); CalendarStore/4.0.1 (973); iCal/4.0.1 (1374); Mac OS X/10.6.2 (10C540)
HEADER=Depth: 0
HEADER=Content-Type: text/xml
#
# Finding where to start from, part 2.
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:">
<x0:prop>
<x0:current-user-principal/>
</x0:prop>
</x0:propfind>
ENDDATA