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 ++++++++++++++++++++++++++++++++++++++++++ tests/data/test302 | 31 +++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 tests/data/test301 create mode 100644 tests/data/test302 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] + + diff --git a/tests/data/test302 b/tests/data/test302 new file mode 100644 index 000000000..e31ce2ec9 --- /dev/null +++ b/tests/data/test302 @@ -0,0 +1,31 @@ +# +# Server-side + + + +# +# Client-side + + +HTTPS GET over HTTP proxy fails + + + -U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302 + + + +# +# Verify data after the test has been "shot" + + +26 + + +^User-Agent:.* + + + + +[insert full protocol verifiction dump here] + + -- cgit v1.2.1