Confirm lock is removed by DELETE.

This commit is contained in:
Andrew McMillan 2010-03-18 20:04:02 +13:00
parent fa865570a0
commit 3421272f7c
2 changed files with 9 additions and 11 deletions

View File

@ -1,13 +1,6 @@
HTTP/1.1 207 Multi-Status
HTTP/1.1 204 No Content
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
Content-Length: 198
Content-Type: text/xml; charset="utf-8"
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/user1/home/i1278618276.ics</href>
<status>HTTP/1.1 423 Resource Locked</status>
</response>
</multistatus>

View File

@ -1,6 +1,11 @@
#
# Test specification compliance for LOCK/UNLOCK request
# - This should fail because we provide an invalid lock token
# - This should succeed because the actual lock was deleted
# when the resource was deleted, regardless that the
# token we supply here is bogus.
#
# The response to this should really be 409 precondition
# failed 'lock-token-matches-request-uri'
#
TYPE=UNLOCK
URL=http://mycaldav/caldav.php/user1/home/i1278618276.ics