]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test500
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test500
1 #
2 # Server-side
3 <reply name="1">
4 <data>
5 HTTP/1.1 200 OK
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
8 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
9 ETag: "21025-dc7-39462498"
10 Accept-Ranges: bytes
11 Content-Length: 6
12 Connection: close
13 Content-Type: text/html
14 Funny-head: yesyes
15
16 <foo>
17 </data>
18 </reply>
19
20 # Client-side
21 <client>
22 <server>
23 http
24 </server>
25 # tool is what to use instead of 'curl'
26 <tool>
27 lib500
28 </tool>
29
30  <name>
31 simple libcurl HTTP GET tool
32  </name>
33  <command>
34 http://%HOSTIP:%HOSTPORT/500
35 </command>
36 </client>
37
38 #
39 # Verify data after the test has been "shot"
40 <verify>
41 <protocol>
42 GET /500 HTTP/1.1
43 Host: 127.0.0.1:8999
44 Pragma: no-cache
45 Accept: */*
46
47 </protocol>
48 </verify>