aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/FILEFORMAT12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 714a28946..9aa37fc1f 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -19,9 +19,14 @@ data to sent to the client on its request and later verified that it arrived
safely. Set the nocheck=1 to prevent the test script to verify the arrival
of this data.
-If the data contains 'swsclose' *anywhere* within the start and end tag, and
+If the data contains 'swsclose' anywhere within the start and end tag, and
this is a HTTP test, then the connection will be closed by the server after
this response is sent. If not, the connection will be kept persistant.
+
+If the data contains 'swsbounce' anywhere within the start and end tag, the
+HTTP server will detect if this is a second request using the same test and
+part number and will then increase the part number with one. This is useful
+for auth tests and similar.
</data>
<dataNUM>
Send back this contents instead of the <data> one. The num is set by:
@@ -51,6 +56,11 @@ reply is sent
special purpose server-command to control its behavior *after* the
reply is sent
</postcmd>
+<servercmd>
+ equivalent to <cmd> but for HTTP, one specified command is supported:
+ "auth_required" - if this is set and a POST/PUT is made without auth, the
+ server will NOT wait for the full request body to get sent
+</servercmd>
</reply>
<client>