From fe67ba6d2b2a0ed9d86d99003d51691fce0ee69a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 14 Jun 2001 12:05:30 +0000 Subject: three more HTTP tests added from the old test suite --- tests/data/test17 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tests/data/test17 (limited to 'tests/data/test17') diff --git a/tests/data/test17 b/tests/data/test17 new file mode 100644 index 000000000..ae799bd62 --- /dev/null +++ b/tests/data/test17 @@ -0,0 +1,42 @@ +# Server-side + + +HTTP/1.1 200 OK +Funny-head: yesyes + +This is the proof it works + + + +# Client-side + + +HTTP with config file on stdin + + +# +# Use a silly request without '--': +request MOOO +# +# Set the user-agent using a short-option: +-A "agent007 license to drill\t" +# +# long option *with* '--': +--max-time 180 + + +-K - %HOSTIP:%HOSTPORT/that.site.com/17 + + + +# Verify data after the test has been "shot" + + +MOOO /that.site.com/17 HTTP/1.1 +User-Agent: agent007 license to drill +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + + + -- cgit v1.2.3