updated for the new SSL -k
[platform/upstream/curl.git] / tests / data / test301
1 #
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.1 200 OK
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
8 Content-Type: text/html
9 Funny-head: yesyes
10
11 </data>
12 </reply>
13
14 #
15 # Client-side
16 <client>
17  <name>
18 HTTPS GET with user and password
19  </name>
20  <command>
21 -k -u fake:user https://%HOSTIP:%HTTPSPORT/2
22 </command>
23 </test>
24
25 #
26 # Verify data after the test has been "shot"
27 <verify>
28 <strip>
29 ^User-Agent:.*
30 </strip>
31 <protocol>
32 GET /2 HTTP/1.1\r
33 Authorization: Basic ZmFrZTp1c2Vy\r
34 Host: 127.0.0.1:8433\r
35 Pragma: no-cache\r
36 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
37 \r
38 </protocol>
39 <data>
40 [insert full protocol verifiction dump here]
41 </data>
42 </verify>