Revert "Update to 7.44.0"
[platform/upstream/curl.git] / tests / data / test301
index fc9edbe..d5974ce 100644 (file)
@@ -1,8 +1,17 @@
+<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
@@ -14,13 +23,19 @@ Funny-head: yesyes
 #
 # 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"
@@ -29,14 +44,14 @@ HTTPS GET with user and password
 ^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>