]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test301
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test301
1 #
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.1 200 OK swsclose
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 <server>
18 https
19 </server>
20  <name>
21 HTTPS GET with user and password
22  </name>
23  <command>
24 -k -u fake:user https://%HOSTIP:%HTTPSPORT/301
25 </command>
26 </test>
27
28 #
29 # Verify data after the test has been "shot"
30 <verify>
31 <strip>
32 ^User-Agent:.*
33 </strip>
34 <protocol>
35 GET /301 HTTP/1.1
36 Authorization: Basic ZmFrZTp1c2Vy
37 Host: 127.0.0.1:8433
38 Pragma: no-cache
39 Accept: */*
40
41 </protocol>
42 <data>
43 [insert full protocol verifiction dump here]
44 </data>
45 </verify>