Updated results (and tests) after some bugs have been fixed.

This commit is contained in:
Andrew McMillan 2006-11-22 20:47:10 +13:00
parent ccc9a974f2
commit e8556bc725
4 changed files with 34 additions and 4 deletions

View File

@ -1,7 +1,7 @@
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
Server: Apache/2.2.3 (Debian) DAV/2
ETag: "d41d8cd98f00b204e9800998ecf8427e"
ETag: "81979ab45975368d619171a4c3e1e5e2"
Content-length: 0
Content-Type: text/html; charset=UTF-8

View File

@ -2,7 +2,7 @@
# PUT another event into the resource2 calendar so we can DELETE it
#
TYPE=PUT
URL=http://mycaldav/caldav.php/resource2/home/6AACA56AB56E981A1E7D968EDD13A05C-0.ics
URL=http://mycaldav/caldav.php/resource2/home/27D2201A83F0CD2EA9ECEBB588F796A7-0.ics
HEADER=Content-Type: text/calendar; charset=utf-8
HEAD
DATA=6AACA56AB56E981A1E7D968EDD13A05C-0.ics
DATA=27D2201A83F0CD2EA9ECEBB588F796A7-0.ics

View File

@ -1,5 +1,5 @@
#
# Do a DELETE with a correct etag which will succeed.
TYPE=DELETE
URL=http://mycaldav/caldav.php/resource2/home/6AACA56AB56E981A1E7D968EDD13A05C-0.ics
URL=http://mycaldav/caldav.php/resource2/home/27D2201A83F0CD2EA9ECEBB588F796A7-0.ics
HEAD

View File

@ -0,0 +1,30 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//mulberrymail.com//Mulberry v4.0//EN
VERSION:2.0
BEGIN:VTIMEZONE
LAST-MODIFIED:20040110T032845Z
TZID:New Zealand Standard Time
BEGIN:DAYLIGHT
DTSTART:20000404T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZNAME:NZDT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:20001026T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
TZNAME:NZST
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20061121T233700Z
DTSTART;TZID=New Zealand Standard Time:20061031T100000
DURATION:PT3H
SUMMARY:Resource 2 to be deleted
UID:5C50D66788218BF2180E0C7C@D76FAF7B10D9E8D2D41F779C
END:VEVENT
END:VCALENDAR