Test 1: File does not exist --------------------------- LOCK /litmus/locknomatchnoexist HTTP/1.1 Depth: 0 If-None-Match: * HTTP/1.1 200 OK Lock-Token: Test 2: File exists ------------------- LOCK /litmus/locknomatchexist HTTP/1.1 Depth: 0 If-None-Match: * HTTP/1.1 412 Precondition Failed Test 3: File does not exist --------------------------- LOCK /litmus/lockmatchnoexist HTTP/1.1 Depth: 0 If-Match: * HTTP/1.1 412 Precondition Failed Test 4: File exists ------------------- LOCK /litmus/locknomatchexist HTTP/1.1 Depth: 0 If-Match: * HTTP/1.1 200 OK Lock-Token: Test 4: File exists, Etag is "19e60b-20-608b1b00" ------------------------------------------------- LOCK /litmus/matchexisttrue HTTP/1.1 Depth: 0 If-Match: "19e60b-20-608b1b00" HTTP/1.1 200 OK Lock-Token: Test 5: File exists, Etag is "19e60b-20-608b1b00" ------------------------------------------------- LOCK /litmus/matchexistfalse HTTP/1.1 Depth: 0 If-Match: "aaa" HTTP/1.1 412 Precondition Failed