From 20690e412d5174de44233786c818a906d9e2887a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 25 Jan 2011 18:09:54 +0100 Subject: tests: more multiple headers checks --- tests/data/test1121 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tests/data/test1121 (limited to 'tests/data/test1121') diff --git a/tests/data/test1121 b/tests/data/test1121 new file mode 100644 index 000000000..e704e05fa --- /dev/null +++ b/tests/data/test1121 @@ -0,0 +1,49 @@ + + + +HTTP + + +# +# Server-side + + +HTTP/1.0 200 OK +Server: test-server/fake +Content-Type: text/html +Content-Length: 6 + +blaha + + + +# +# Client-side + + +http + + +HTTP multiple provided Host: headers + + +-H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1121 HTTP/1.1 +Accept: */* +Host: host1 +Host: host2 +Host: host3 + + + + -- cgit v1.2.3