Debian Codegraph @

curl/tests/data/test303

raw
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Date: Thu, 09 Nov 2010 14:49:00 GMT
6 Connection: close
7
8 <html>result</html>
9 </data>
10 <postcmd>
11 wait 10
12 </postcmd>
13 </reply>
14
15 # Client-side
16 <client>
17 <features>
18 SSL
19 </features>
20 <server>
21 https
22 </server>
23 <name>
24 HTTPS with 2 secs timeout
25 </name>
26 <command>
27 http://%HOSTIP:%HTTPPORT/want/303 -m 2
28 </command>
29 </client>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^User-Agent:.*
35 </strip>
36 <protocol>
37 GET /want/303 HTTP/1.1
38 Host: 127.0.0.1:%HTTPPORT
39 Accept: */*
40
41 </protocol>
42 <errorcode>
43 28
44 </errorcode>
45 </verify>