1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

added swsbounce

This commit is contained in:
Daniel Stenberg 2004-03-31 12:24:08 +00:00
parent cd95bb22ea
commit a56164c8e0

View File

@ -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 safely. Set the nocheck=1 to prevent the test script to verify the arrival
of this data. 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 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. 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> </data>
<dataNUM> <dataNUM>
Send back this contents instead of the <data> one. The num is set by: 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 special purpose server-command to control its behavior *after* the
reply is sent reply is sent
</postcmd> </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> </reply>
<client> <client>