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