Git init
[external/curl.git] / tests / data / test573
1 <testcase>
2 <info>
3 <keywords>
4 FILE
5 </keywords>
6 </info>
7 #
8 # Server-side
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Date: Thu, 09 Nov 2010 14:49:00 GMT
13 Server: test-server/fake
14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15 ETag: "21025-dc7-39462498"
16 Accept-Ranges: bytes
17 Content-Length: 6
18 Connection: close
19 Content-Type: text/html
20 Funny-head: yesyes
21
22 -foo-
23 </data>
24 </reply>
25
26 # Client-side
27 <client>
28 <server>
29 http
30 </server>
31 # tool is what to use instead of 'curl'
32 <tool>
33 lib573
34 </tool>
35
36  <name>
37 verify connect time with multi interface
38  </name>
39  <command>
40 http://%HOSTIP:%HTTPPORT/573
41 </command>
42 </client>
43
44 # Verify data after the test has been "shot"
45 <verify>
46 <strip>
47 ^User-Agent:.*
48 </strip>
49 <protocol>
50 GET /573 HTTP/1.1\r
51 Host: %HOSTIP:%HTTPPORT\r
52 Accept: */*\r
53 \r
54 </protocol>
55 </verify>
56 </testcase>