diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-08-18 11:44:45 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-08-18 11:45:15 +0200 |
commit | cdd61dc35fc093f6e78da0168070a09f45becf5c (patch) | |
tree | dfde53003efa9752354aa6279ab09e4b3d0994b7 /tests/data/test1144 | |
parent | cf582d7bc0bc776c9dd5654680c8557260c192bb (diff) |
test1144: verify HEAD with body-only response
Diffstat (limited to 'tests/data/test1144')
-rw-r--r-- | tests/data/test1144 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/data/test1144 b/tests/data/test1144 new file mode 100644 index 000000000..3b4a1b479 --- /dev/null +++ b/tests/data/test1144 @@ -0,0 +1,62 @@ +<testcase> +<info> +<keywords> +HTTP +HTTP HEAD +</keywords> +</info> + +# +# Server-side +<reply> +<data> +No headers at all, just data swsclose + +Let's get + +a little + +so that + +we + +have + +some + +test + +data to + +verify +</data> +</reply> + +# +# Client-side +<client> +<server> +http +</server> + <name> +HTTP HEAD, receive no headers only body + </name> + <command> +-I http://%HOSTIP:%HTTPPORT/1144 +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> +HEAD /1144 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+</protocol> +</verify> +</testcase> |