Test deleting a done file

parent 8b8a1d46
......@@ -104,6 +104,20 @@ client c1 {
expect resp.status == 301
expect resp.http.Location == "http://localhost/id"
txreq -method "DELETE" -url "/id" \
-hdr "Tus-Resumable: 1.0.0"
rxresp
expect resp.status == 204
txreq -method HEAD -url "/id" \
-hdr "Tus-Resumable: 1.0.0"
rxresp
expect resp.status == 404
txreq -url "/id" \
-hdr "Tus-Resumable: 1.0.0"
rxresp
expect resp.status == 404
} -start
# empty file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment