mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-30 18:37:12 +00:00
A first test case for LOCK
This commit is contained in:
parent
b33e639f8c
commit
0fb5ba19f4
23
testing/tests/regression-suite/800-Spec-LOCK-1.test
Normal file
23
testing/tests/regression-suite/800-Spec-LOCK-1.test
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Test specification compliance for LOCK request
|
||||
#
|
||||
TYPE=LOCK
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=Depth: 0
|
||||
HEADER=Timeout: Infinite,Second-4100000000
|
||||
HEADER=Content-type: text/xml; charset="utf-8"
|
||||
|
||||
#
|
||||
# Include the data in-line
|
||||
#
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<D:lockinfo xmlns:D='DAV:'>
|
||||
<D:lockscope><D:exclusive/></D:lockscope>
|
||||
<D:locktype><D:write/></D:locktype>
|
||||
<D:owner>
|
||||
<D:href>http://andrew.mcmillan.net.nz/node/5/</D:href>
|
||||
</D:owner>
|
||||
</D:lockinfo>
|
||||
ENDDATA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user