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/test581 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tests/data/test581 (limited to 'tests/data/test581') diff --git a/tests/data/test581 b/tests/data/test581 new file mode 100644 index 000000000..acaa41b9f --- /dev/null +++ b/tests/data/test581 @@ -0,0 +1,58 @@ + + + +HTTP +HTTP GET +multi +Duplicate-header + + + +# Server-side + + +HTTP/1.1 200 all good! +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Type: text/html +Content-Length: 0 +Connection: close +Content-Type: changed/my/mind + + + + +# Client-side + + +http + + +http + +# tool is what to use instead of 'curl' + +lib507 + + + +multi interface, multiple Content-Type: headers + + +http://%HOSTIP:%HTTPPORT/581 + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /581 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3