Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test536
blobc919e9ee93cc363b44eab017bfe64b7a8558ce9e
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
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
20 fine content
21 </data1>
23 <datacheck>
24 fine content
25 Finished!
26 </datacheck>
28 <servercmd>
29 pipe: 1
30 </servercmd>
31 </reply>
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>
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>
52 # Verify data after the test has been "shot"
53 <verify>
54 <protocol>
55 GET /536 HTTP/1.1
56 Host: %HOSTIP:%HTTPPORT
57 Accept: */*
59 GET /5360001 HTTP/1.1
60 Host: %HOSTIP:%HTTPPORT
61 Accept: */*
63 </protocol>
64 </verify>
65 </testcase>