mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-20 06:09:32 +00:00
Confirm lock is removed by DELETE.
This commit is contained in:
parent
fa865570a0
commit
3421272f7c
@ -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
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||||
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
|
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
|
||||||
Content-Length: 198
|
Content-Length: 0
|
||||||
Content-Type: text/xml; charset="utf-8"
|
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>
|
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
#
|
#
|
||||||
# Test specification compliance for LOCK/UNLOCK request
|
# 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
|
TYPE=UNLOCK
|
||||||
URL=http://mycaldav/caldav.php/user1/home/i1278618276.ics
|
URL=http://mycaldav/caldav.php/user1/home/i1278618276.ics
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user