+<testcase>
+<info>
+<keywords>
+HTTPS
+HTTP GET
+HTTP Basic auth
+</keywords>
+</info>
+
#
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
#
# Client-side
<client>
+<features>
+SSL
+</features>
+<server>
+https
+</server>
<name>
HTTPS GET with user and password
</name>
<command>
- -u fake:user https://%HOSTIP:%HTTPSPORT/2
+-k -u fake:user https://%HOSTIP:%HTTPSPORT/301
</command>
-</test>
+</client>
#
# Verify data after the test has been "shot"
^User-Agent:.*
</strip>
<protocol>
-GET /2 HTTP/1.1\r
+GET /301 HTTP/1.1\r
Authorization: Basic ZmFrZTp1c2Vy\r
-Host: 127.0.0.1:8433\r
-Pragma: no-cache\r
-Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+Host: %HOSTIP:%HTTPSPORT\r
+Accept: */*\r
\r
</protocol>
<data>
[insert full protocol verifiction dump here]
</data>
</verify>
+</testcase>