From 1c32b6e913958174caee5df90b3f473a7a6881a2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Jun 2017 11:08:31 +0200 Subject: test1147: verify -H on a file --- tests/data/test1147 | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 tests/data/test1147 (limited to 'tests/data/test1147') diff --git a/tests/data/test1147 b/tests/data/test1147 new file mode 100644 index 000000000..faad8999e --- /dev/null +++ b/tests/data/test1147 @@ -0,0 +1,64 @@ + + + +HTTP +HTTP GET +-H + + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + +Get -H headers from a file + + +One: 1 +Two: 2 +no-colon + + And A Funny One : wohoo +User-Agent: + + +http://%HOSTIP:%HTTPPORT/1147 -H @log/heads1147.txt + + + +# +# Verify data after the test has been "shot" + + +GET /1147 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* +One: 1 +Two: 2 + And A Funny One : wohoo + + + + -- cgit v1.2.3