Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0802-Spec-LOCK-1.test
blob231ea20de96d258c8ed77d12b53aa1d3fdbb2cc8
2 # Test specification compliance for LOCK request
3 #  - This is a request for something which is already locked
4 #    and should fail.
6 TYPE=LOCK
7 URL=http://regression.host/caldav.php/user1/home/i1278618276.ics
8 HEADER=Depth: 0
9 HEADER=Timeout: Infinite,Second-4100000000
10 HEADER=Content-type: text/xml; charset="utf-8"
11 HEAD
14 # Include the data in-line
16 BEGINDATA
17 <?xml version="1.0" encoding="utf-8" ?>
18 <D:lockinfo xmlns:D='DAV:'>
19   <D:lockscope><D:exclusive/></D:lockscope>
20   <D:locktype><D:write/></D:locktype>
21   <D:owner>
22        <D:href>http://andrew.mcmillan.net.nz/node/5/</D:href>
23   </D:owner>
24 </D:lockinfo>
25 ENDDATA