Debian Codegraph @

curl/tests/data/test160

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