diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-05-28 00:55:11 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-05-28 00:55:11 +0200 |
commit | 4b96e5c70fd2cf10c7bd07cb50e01daeb981a5b9 (patch) | |
tree | f9dca7630dbe736f85927d53cba3a7bd507805ea /tests/data/test1115 | |
parent | 75743b009b5fb15dc018b571effb43b81c84e248 (diff) |
test1115: verify that unexpected 1xx responses work fine
Diffstat (limited to 'tests/data/test1115')
-rw-r--r-- | tests/data/test1115 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/data/test1115 b/tests/data/test1115 new file mode 100644 index 000000000..0f294d4cf --- /dev/null +++ b/tests/data/test1115 @@ -0,0 +1,55 @@ +<testcase> +<info> +<keywords> +HTTP +HTTP 1xx response code +</keywords> +</info> + +# Server-side +<reply> +<data> +HTTP/1.1 104 Experiment
+Server: Microsoft-IIS/5.0
+Date: Sun, 03 Apr 2005 14:57:45 GMT
+X-Powered-By: ASP.NET
+
+HTTP/1.1 200 OK swsbounce
+Server: Microsoft-IIS/6.0
+Content-Type: text/html; charset=iso-8859-1
+Content-Length: 0
+
+</data> + +</reply> + +# Client-side +<client> +# +<server> +http +</server> +<features> +crypto +</features> + <name> +HTTP GET with unexpected 1xx response + </name> + <command> +http://%HOSTIP:%HTTPPORT/1115 +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> +GET /1115 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+</protocol> +</verify> +</testcase> |