From 6d8f1328bf8cfbdb52809c8f2d9df1fa74205d8f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 18 Sep 2001 15:13:40 +0000 Subject: HTTPS test case --- tests/data/test301 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tests/data/test301 (limited to 'tests/data/test301') diff --git a/tests/data/test301 b/tests/data/test301 new file mode 100644 index 000000000..fc9edbe3e --- /dev/null +++ b/tests/data/test301 @@ -0,0 +1,42 @@ +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Type: text/html +Funny-head: yesyes + + + + +# +# Client-side + + +HTTPS GET with user and password + + + -u fake:user https://%HOSTIP:%HTTPSPORT/2 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /2 HTTP/1.1 +Authorization: Basic ZmFrZTp1c2Vy +Host: 127.0.0.1:8433 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + + + +[insert full protocol verifiction dump here] + + -- cgit v1.2.3