Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test160
blob1c8e5fa8ef9fded93aa31810b824836a75710a92
1 <testcase>
2 # Server-side
3 <reply>
4 <data nocheck="true">
5 HTTP/1.1 200 OK swsclose
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Content-Length: 9
9 surprise
10 </data>
11 <data1>
12 HTTP/1.1 200 OK swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Connection: close
16 surprise2
17 </data1>
19 <postcmd>
20 wait 1
21 </postcmd>
22 </reply>
24 # Client-side
25 <client>
26 <server>
27 http
28 </server>
29  <name>
30 HTTP with delayed close, conn reuse, connection reset and retry
31  </name>
32  <command>
33 http://%HOSTIP:%HTTPPORT/want/160 http://%HOSTIP:%HTTPPORT/wantmore/1600001
34 </command>
35 </client>
37 # Verify data after the test has been "shot"
38 <verify>
39 <stdout>
40 HTTP/1.1 200 OK swsclose
41 Date: Thu, 09 Nov 2010 14:49:00 GMT
42 Content-Length: 9
44 surprise
45 HTTP/1.1 200 OK swsclose
46 Date: Thu, 09 Nov 2010 14:49:00 GMT
47 Connection: close
49 surprise2
50 </stdout>
52 <strip>
53 ^User-Agent:.*
54 </strip>
55 <protocol>
56 GET /want/160 HTTP/1.1
57 Host: %HOSTIP:%HTTPPORT
58 Accept: */*
60 GET /wantmore/1600001 HTTP/1.1
61 Host: %HOSTIP:%HTTPPORT
62 Accept: */*
64 </protocol>
65 </verify>
66 </testcase>