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