]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test29
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test29
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK swsclose
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 <server>
18 http
19 </server>
20  <name>
21 HTTP with 2 secs timeout
22  </name>
23  <command>
24 http://%HOSTIP:%HOSTPORT/want/29 -m 2
25 </command>
26 </test>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <strip>
31 ^User-Agent:.*
32 </strip>
33 <protocol>
34 GET /want/29 HTTP/1.1
35 Host: 127.0.0.1:8999
36 Pragma: no-cache
37 Accept: */*
38
39 </protocol>
40 <errorcode>
41 28
42 </errorcode>
43 </verify>