Updated DELETE results after earlier fixes to DELETE.

This commit is contained in:
Andrew McMillan 2010-03-18 20:04:42 +13:00
parent 3421272f7c
commit 394f5d488f
8 changed files with 31 additions and 1 deletions

View File

@ -4,4 +4,7 @@ DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, c
Content-Length: 44
Content-Type: text/plain; charset="utf-8"
Resource has changed on server - not deleted
Resource has changed on server - not deleted
dav_etag: >557e551fae1b5c7f2131bde1ba0ba01e<
dav_name: >/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics<

View File

@ -4,3 +4,9 @@ TYPE=DELETE
URL=http://mycaldav/caldav.php/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics
HEADER=If-Match: "bogus-etag-b000d7defa19ccb7cd21e546b54155ee"
HEAD
QUERY
SELECT dav_name, dav_etag
FROM caldav_data
WHERE dav_name = '/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics'
ENDQUERY

View File

@ -4,3 +4,4 @@ DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, c
Content-Length: 0
Content-Type: text/plain; charset="utf-8"

View File

@ -4,3 +4,9 @@ TYPE=DELETE
URL=http://mycaldav/caldav.php/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics
HEADER=If-Match: "557e551fae1b5c7f2131bde1ba0ba01e"
HEAD
QUERY
SELECT dav_id, dav_name, dav_etag
FROM caldav_data
WHERE dav_name = '/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics'
ENDQUERY

View File

@ -4,3 +4,4 @@ DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, c
Content-Length: 0
Content-Type: text/plain; charset="utf-8"

View File

@ -3,3 +3,9 @@
TYPE=DELETE
URL=http://mycaldav/caldav.php/resource2/home/27D2201A83F0CD2EA9ECEBB588F796A7-0.ics
HEAD
QUERY
SELECT dav_id, dav_name, dav_etag
FROM caldav_data
WHERE dav_name = '/resource2/home/27D2201A83F0CD2EA9ECEBB588F796A7-0.ics'
ENDQUERY

View File

@ -4,3 +4,4 @@ DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, c
Content-Length: 0
Content-Type: text/plain; charset="utf-8"

View File

@ -15,3 +15,9 @@ HEADER=Content-Type: text/calendar; charset=utf-8
HEADER=Lock-Token: <opaquelocktoken:##locktoken##>
HEAD
QUERY
SELECT dav_id, dav_name, dav_etag
FROM caldav_data
WHERE dav_name = '/user1/home/i1278618276.ics'
ENDQUERY