New tests following the iCal4 client through one path.

This commit is contained in:
Andrew McMillan 2009-11-02 23:38:07 +13:00
parent 6dcc3cf1d6
commit 8512a507f5
18 changed files with 1004 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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
ETag: "a69952d4b9b300b227d18e0cc7a2b2d3"
Content-Length: 303
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<principal-URL>
<href>/caldav.php/user1/</href>
</principal-URL>
</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/caldav.php/user1/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
HEADER=Depth: 0
#
# Woohoo! Searching for the current-user-principal...
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:">
<x0:prop>
<x0:principal-URL/>
</x0:prop>
</x0:propfind>
ENDDATA

View File

@ -0,0 +1,55 @@
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
ETag: "e276a4e60173436301d34b97d06938e2"
Content-Length: 1365
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" xmlns:A="http://calendarserver.org/ns/">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<principal-collection-set>
<href>/caldav.php/</href>
</principal-collection-set>
<C:calendar-home-set>
<href>/caldav.php/user1/</href>
</C:calendar-home-set>
<C:calendar-user-address-set>
<href>mailto:user1@example.net</href>
<href>/caldav.php/user1/</href>
</C:calendar-user-address-set>
<C:schedule-inbox-URL>
<href>/caldav.php/user1/.in/</href>
</C:schedule-inbox-URL>
<C:schedule-outbox-URL>
<href>/caldav.php/user1/.out/</href>
</C:schedule-outbox-URL>
<displayname>User 1</displayname>
<principal-URL>
<href>/caldav.php/user1/</href>
</principal-URL>
<supported-report-set>
<supported-report>
<principal-property-search/>
</supported-report>
<supported-report>
<sync-collection/>
</supported-report>
</supported-report-set>
<A:dropbox-home-URL>
<href>/caldav.php/user1/.drop/</href>
</A:dropbox-home-URL>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<A:xmpp-uri/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,31 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
HEADER=Depth: 0
#
# Looking for interesting stuff like xmpp-uri
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:" xmlns:x2="http://calendarserver.org/ns/">
<x0:prop>
<x0:principal-collection-set/>
<x1:calendar-home-set/>
<x1:calendar-user-address-set/>
<x1:schedule-inbox-URL/>
<x1:schedule-outbox-URL/>
<x2:dropbox-home-URL/>
<x2:xmpp-uri/>
<x0:displayname/>
<x0:principal-URL/>
<x0:supported-report-set/>
</x0:prop>
</x0:propfind>
ENDDATA

View File

@ -0,0 +1,436 @@
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
ETag: "9bed52e80a9d357b9e65d7a068fd1848"
Content-Length: 9691
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/">
<response>
<href>/caldav.php/user1/</href>
<propstat>
<prop>
<displayname>User 1</displayname>
<resourcetype>
<principal/>
<collection/>
</resourcetype>
<current-user-privilege-set>
<privilege>
<all/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<lock/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:getctag/>
<C1:supported-calendar-component-set/>
<C1:calendar-free-busy-set/>
<C:xmpp-server/>
<C:xmpp-uri/>
<C1:calendar-description/>
<A:calendar-color/>
<A:calendar-order/>
<C1:schedule-calendar-transp/>
<C1:schedule-default-calendar-URL/>
<quota-available-bytes/>
<quota-used-bytes/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/</href>
<propstat>
<prop>
<C1:supported-calendar-component-set>
<C1:comp name="VEVENT"/>
<C1:comp name="VTODO"/>
<C1:comp name="VJOURNAL"/>
<C1:comp name="VTIMEZONE"/>
<C1:comp name="VFREEBUSY"/>
</C1:supported-calendar-component-set>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<displayname>user1 home</displayname>
<C:getctag>"9a28f344c1e0032e5967806f193a7cb7"</C:getctag>
<current-user-privilege-set>
<privilege>
<all/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<lock/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C1:calendar-free-busy-set/>
<C:xmpp-server/>
<C:xmpp-uri/>
<C1:calendar-description/>
<A:calendar-color/>
<A:calendar-order/>
<C1:schedule-calendar-transp/>
<C1:schedule-default-calendar-URL/>
<quota-available-bytes/>
<quota-used-bytes/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/created/</href>
<propstat>
<prop>
<C1:supported-calendar-component-set>
<C1:comp name="VEVENT"/>
<C1:comp name="VTODO"/>
<C1:comp name="VJOURNAL"/>
<C1:comp name="VTIMEZONE"/>
<C1:comp name="VFREEBUSY"/>
</C1:supported-calendar-component-set>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<displayname>created</displayname>
<C:getctag>"bac273dae96780a3c8ed0c032266322c"</C:getctag>
<current-user-privilege-set>
<privilege>
<all/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<lock/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C1:calendar-free-busy-set/>
<C:xmpp-server/>
<C:xmpp-uri/>
<C1:calendar-description/>
<A:calendar-color/>
<A:calendar-order/>
<C1:schedule-calendar-transp/>
<C1:schedule-default-calendar-URL/>
<quota-available-bytes/>
<quota-used-bytes/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/</href>
<propstat>
<prop>
<C1:supported-calendar-component-set>
<C1:comp name="VEVENT"/>
<C1:comp name="VTODO"/>
<C1:comp name="VJOURNAL"/>
<C1:comp name="VTIMEZONE"/>
<C1:comp name="VFREEBUSY"/>
</C1:supported-calendar-component-set>
<resourcetype>
<collection/>
<C1:calendar/>
</resourcetype>
<displayname>iCal Calendar</displayname>
<C:getctag>"ac192d10783fff90598af2facc8259df"</C:getctag>
<current-user-privilege-set>
<privilege>
<all/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<lock/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
<A:calendar-color>#391B71A0</A:calendar-color>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C1:calendar-free-busy-set/>
<C:xmpp-server/>
<C:xmpp-uri/>
<C1:calendar-description/>
<A:calendar-order/>
<C1:schedule-calendar-transp/>
<C1:schedule-default-calendar-URL/>
<quota-available-bytes/>
<quota-used-bytes/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/calendar-proxy-read/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C:calendar-proxy-read/>
</resourcetype>
<displayname>/user1/calendar-proxy-read/</displayname>
<C:getctag>"c26fa324d66fa84a0da8e1ec8c4566fd"</C:getctag>
<current-user-privilege-set>
<privilege>
<all/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<lock/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C1:supported-calendar-component-set/>
<C1:calendar-free-busy-set/>
<C:xmpp-server/>
<C:xmpp-uri/>
<C1:calendar-description/>
<A:calendar-color/>
<A:calendar-order/>
<C1:schedule-calendar-transp/>
<C1:schedule-default-calendar-URL/>
<quota-available-bytes/>
<quota-used-bytes/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/calendar-proxy-write/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C:calendar-proxy-write/>
</resourcetype>
<displayname>/user1/calendar-proxy-write/</displayname>
<C:getctag>"1fe22bc6877accf64891e7c9c5428b86"</C:getctag>
<current-user-privilege-set>
<privilege>
<all/>
</privilege>
<privilege>
<C1:read-free-busy/>
</privilege>
<privilege>
<read/>
</privilege>
<privilege>
<write/>
</privilege>
<privilege>
<bind/>
</privilege>
<privilege>
<unbind/>
</privilege>
<privilege>
<write-content/>
</privilege>
<privilege>
<write-properties/>
</privilege>
<privilege>
<lock/>
</privilege>
<privilege>
<unlock/>
</privilege>
<privilege>
<read-acl/>
</privilege>
<privilege>
<read-current-user-privilege-set/>
</privilege>
</current-user-privilege-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C1:supported-calendar-component-set/>
<C1:calendar-free-busy-set/>
<C:xmpp-server/>
<C:xmpp-uri/>
<C1:calendar-description/>
<A:calendar-color/>
<A:calendar-order/>
<C1:schedule-calendar-transp/>
<C1:schedule-default-calendar-URL/>
<quota-available-bytes/>
<quota-used-bytes/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,37 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
HEADER=Depth: 1
#
# Looking for interesting stuff like xmpp-uri
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:" xmlns:x3="http://apple.com/ns/ical/" xmlns:x1="http://calendarserver.org/ns/" xmlns:x2="urn:ietf:params:xml:ns:caldav">
<x0:prop>
<x1:xmpp-server/>
<x1:xmpp-uri/>
<x1:getctag/>
<x0:displayname/>
<x2:calendar-description/>
<x3:calendar-color/>
<x3:calendar-order/>
<x2:supported-calendar-component-set/>
<x0:resourcetype/>
<x2:calendar-free-busy-set/>
<x2:schedule-calendar-transp/>
<x2:schedule-default-calendar-URL/>
<x0:quota-available-bytes/>
<x0:quota-used-bytes/>
<x2:calendar-timezone/>
<x0:current-user-privilege-set/>
</x0:prop>
</x0:propfind>
ENDDATA

View File

@ -0,0 +1,13 @@
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol
Content-Length: 224
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/</href>
<responsedescription>All requested changes were made.</responsedescription>
</response>
</multistatus>

View File

@ -0,0 +1,16 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPPATCH
URL=http://regression.host/caldav.php/user1/home/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
#
#
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<x0:propertyupdate xmlns:x0="DAV:" xmlns:x1="http://apple.com/ns/ical/"><x0:set><x0:prop><x1:calendar-color>#0252D4FF</x1:calendar-color></x0:prop></x0:set></x0:propertyupdate>
ENDDATA

View File

@ -0,0 +1,13 @@
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol
Content-Length: 224
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/</href>
<responsedescription>All requested changes were made.</responsedescription>
</response>
</multistatus>

View File

@ -0,0 +1,16 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPPATCH
URL=http://regression.host/caldav.php/user1/home/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
#
#
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<x0:propertyupdate xmlns:x0="DAV:" xmlns:x1="http://apple.com/ns/ical/"><x0:set><x0:prop><x1:calendar-order>1</x1:calendar-order></x0:prop></x0:set></x0:propertyupdate>
ENDDATA

View File

@ -0,0 +1,13 @@
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol
Content-Length: 224
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/</href>
<responsedescription>All requested changes were made.</responsedescription>
</response>
</multistatus>

View File

@ -0,0 +1,38 @@
#
# Testing with a process similar to iCal4
#
TYPE=PROPPATCH
URL=http://regression.host/caldav.php/user1/home/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
#
#
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<x0:propertyupdate xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:"><x0:set><x0:prop><x1:calendar-timezone>BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 4.0//EN
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/Prague
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
DTSTART:19810329T020000
TZNAME:GMT+02:00
TZOFFSETTO:+0200
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
DTSTART:19961027T030000
TZNAME:GMT+01:00
TZOFFSETTO:+0100
END:STANDARD
END:VTIMEZONE
END:VCALENDAR
</x1:calendar-timezone></x0:prop></x0:set></x0:propertyupdate>
ENDDATA

View File

@ -0,0 +1,173 @@
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
ETag: "4681e93922d452d1b126c73bf5c2b112"
Content-Length: 4373
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>/caldav.php/user1/home/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C:calendar/>
</resourcetype>
<getetag>"9a28f344c1e0032e5967806f193a7cb7"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/3F4CF6227300FD062D9EF3CDFB30D32D-0.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"2c32a2f8aba853654eb17fe037a4db4d"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"a1c6404d61190f9574e2bfd69383f144"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/9d050be7-8a02-4355-8ed3-02a9fc5f473f.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"08a435c2abaf38f4a50a997343c098a7"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/1906b3ca-4890-468a-9b58-1de74bf2c716.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"5def8ae2b20893a1c7f4dbaeb008f2f1"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/fbd57454-d966-4a14-8341-abe1edb1ae66.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"ac90acd649c25070b1a2a17fb31a105a"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/2178279a-aec2-471f-832d-1f6df6203f2f.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"509b0f0d8a3363379f9f5727f5dd74a0"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/917b9e47-b748-4550-a566-657fbe672447.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"cb3d9dc3e8c157f53eba3ea0e1e0f146"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"00ad5eb1eb5507884710b0b66aa5d5c4"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/b1679f77-673d-4f46-b3eb-2420e1bba301.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"a2990674708634a311bb98a59865ca50"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/e70576e9-c1e0-431e-a507-0386fd82f223.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"e8060931f30c1798ac58ffbe4ec0bffc"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/e6eb5bc9-f7f9-4a0a-94e8-8e90eefc7d08.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"8f581a053df6d833254756dfd7553d37"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/71e2ae82-7870-11db-c6d6-f6927c144649.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"0d7a68984bf525342d22b8924a57e8e2"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"421abf7e4848d2fecbf64217ed205d4b"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/home/AAA9318E-37D9-4319-8626-95ECD3D3B243.ics</href>
<propstat>
<prop>
<resourcetype/>
<getetag>"5f050eca5480bbebbe9428222570913d"</getetag>
</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/caldav.php/user1/home/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
HEADER=Depth: 1
#
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:">
<x0:prop>
<x0:getetag/>
<x0:resourcetype/>
</x0:prop>
</x0:propfind>
ENDDATA

View File

@ -0,0 +1,23 @@
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
ETag: "1b624afb2d5c7862977d9a31163d01b1"
Content-Length: 423
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" xmlns:A="http://calendarserver.org/ns/">
<response>
<href>/caldav.php/user1/.in/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<C:schedule-inbox/>
</resourcetype>
<A:getctag>"1"</A:getctag>
</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/caldav.php/user1/.in/
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/xml
HEADER=Depth: 1
#
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x0="DAV:" xmlns:x1="http://calendarserver.org/ns/">
<x0:prop>
<x1:getctag/>
<x0:resourcetype/>
</x0:prop>
</x0:propfind>
ENDDATA

View File

@ -0,0 +1,7 @@
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol
ETag: "257b9df4aaf573a578af4aadd033abf4"
Content-Length: 0
Content-Type: text/plain; charset="utf-8"

View File

@ -0,0 +1,46 @@
#
# Testing with a process similar to iCal4
#
TYPE=PUT
URL=http://regression.host/caldav.php/user1/home/70D23799-4A68-4905-AB9F-4D47BA693CFD.ics
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/calendar
#
#
BEGINDATA
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 4.0//EN
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/Prague
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
DTSTART:19810329T020000
TZNAME:GMT+02:00
TZOFFSETTO:+0200
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
DTSTART:19961027T030000
TZNAME:GMT+01:00
TZOFFSETTO:+0100
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20091006T225807Z
UID:70D23799-4A68-4905-AB9F-4D47BA693CFD
DTEND;TZID=Europe/Prague:20091005T150000
TRANSP:OPAQUE
SUMMARY:New Event
DTSTART;TZID=Europe/Prague:20091005T140000
DTSTAMP:20091006T225808Z
SEQUENCE:1
END:VEVENT
END:VCALENDAR
ENDDATA