diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-11-25 23:23:47 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-11-25 23:23:47 +0000 |
commit | 640974fb282733c1e9387a168ea4d5748c26fdc3 (patch) | |
tree | 5e3712615622e52e4d14d14500cb9f24a25c1708 /tests/FILEFORMAT | |
parent | 3b0c5ae46774e8523cb02d6ecb7c2c25ec21e97b (diff) | |
download | curl-640974fb282733c1e9387a168ea4d5748c26fdc3.tar.gz |
If a HTTP request is Basic and num is already >=1000, the HTTP test server
adds 1 to num to get the data section to return. This allows testing
authentication negotiations using the Basic authentication method.
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r-- | tests/FILEFORMAT | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index 35bb78938..a1d82bf46 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -67,6 +67,13 @@ of [test case number]%10000. B) The request was HTTP and included digest details, which adds 1000 to NUM C) If a HTTP request is NTLM type-1, it adds 1001 to num D) If a HTTP request is NTLM type-3, it adds 1002 to num +E) If a HTTP request is Basic and num is already >=1000, it adds 1 to num + +Dynamically changing num in this way allows the test harness to be used to +test authentication negotiation where several different requests must be sent +to complete a transfer. The response to each request is found in its own data +section. Validating the entire negotiation sequence can be done by +specifying a datacheck section. </dataNUM> <datacheck [nonewline="yes"]> if the data is sent but this is what should be checked afterwards. If |