mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-18 01:31:21 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
27 lines
609 B
Plaintext
27 lines
609 B
Plaintext
#
|
|
# Test specification compliance for LOCK request
|
|
# - This is a request for something which is already locked
|
|
# and should fail.
|
|
#
|
|
TYPE=LOCK
|
|
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
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/
|