davical/testing/tests/regression-suite/810-Spec-LOCK-1.test
2006-12-08 13:30:00 +13:00

25 lines
535 B
Plaintext

#
# Test specification compliance for LOCK request on a collection
#
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"
HEAD
#
# 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