Git init
[external/curl.git] / tests / data / test536
1 <testcase>
2 <reply>
3 <data mode="text">
4 HTTP/1.1 404 Badness
5 Date: Thu, 09 Nov 2010 14:49:00 GMT
6 ETag: "21025-dc7-39462498"
7 Content-Length: 6
8 Content-Type: text/html
9 Funny-head: yesyes
10
11 hejsan
12 </data>
13 <data1>
14 HTTP/1.1 200 Fine
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Content-Length: 13
17 Connection: close
18 Content-Type: text/html
19
20 fine content
21 </data1>
22
23 <datacheck>
24 fine content
25 Finished!
26 </datacheck>
27
28 <servercmd>
29 pipe: 1
30 </servercmd>
31 </reply>
32
33 # Client-side
34 <client>
35 <server>
36 http
37 </server>
38 # tool is what to use instead of 'curl'
39 <tool>
40 lib536
41 </tool>
42
43  <name>
44 HTTP GET multi two files with FAILONERROR and pipelining
45  </name>
46  <command>
47 http://%HOSTIP:%HTTPPORT/536 http://%HOSTIP:%HTTPPORT/5360001
48 </command>
49 </client>
50
51 #
52 # Verify data after the test has been "shot"
53 <verify>
54 <protocol>
55 GET /536 HTTP/1.1\r
56 Host: %HOSTIP:%HTTPPORT\r
57 Accept: */*\r
58 \r
59 GET /5360001 HTTP/1.1\r
60 Host: %HOSTIP:%HTTPPORT\r
61 Accept: */*\r
62 \r
63 </protocol>
64 </verify>
65 </testcase>