]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test1
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test1
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 #
21 # Client-side
22 <client>
23 <server>
24 http
25 </server>
26  <name>
27 simple HTTP GET
28  </name>
29  <command>
30 http://%HOSTIP:%HOSTPORT/1
31 </command>
32 </client>
33
34 #
35 # Verify data after the test has been "shot"
36 <verify>
37 <strip>
38 ^User-Agent:.*
39 </strip>
40 <protocol>
41 GET /1 HTTP/1.1
42 Host: 127.0.0.1:8999
43 Pragma: no-cache
44 Accept: */*
45
46 </protocol>
47 </verify>