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/test15 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/data/test15 (limited to 'tests/data/test15') diff --git a/tests/data/test15 b/tests/data/test15 new file mode 100644 index 000000000..4a8953739 --- /dev/null +++ b/tests/data/test15 @@ -0,0 +1,44 @@ +# Server-side + + +HTTP/1.4 200 OK +Fake: yes +Fake: yes +Fake: yes + +Repeated nonsense-headers + + + +# Client-side + + +--write-out test + + +http://%HOSTIP:%HOSTPORT/want/15 --write-out '%{url_effective} %{http_code} %{size_download}\n' + + + +# Verify data after the test has been "shot" + + +HTTP/1.4 200 OK +Fake: yes +Fake: yes +Fake: yes + +Repeated nonsense-headers +http://127.0.0.1:8999/want/15 200 26 + + +^User-Agent:.* + + +GET /want/15 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + + + -- cgit v1.2.3