Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test655
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 200 OK
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake swsclose
15 Connection: close
16 Content-Type: text/html
17
18 hello
19 </data>
20 <datacheck>
21 hello
22 </datacheck>
23 </reply>
24
25 # Client-side
26 <client>
27 <server>
28 http
29 </server>
30 # tool is what to use instead of 'curl'
31 <tool>
32 lib655
33 </tool>
34
35  <name>
36 resolver start callback
37  </name>
38  <command>
39 http://%HOSTIP:%HTTPPORT/655
40 </command>
41 </client>
42
43 #
44 # Verify data after the test has been "shot"
45 <verify>
46 <errorcode>
47 0
48 </errorcode>
49 </verify>
50 </testcase>