]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test33
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test33
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 OK swsclose
5
6 </data>
7 </reply>
8
9 # Client-side
10 <client>
11 <server>
12 http
13 </server>
14  <name>
15 HTTP PUT with resume
16  </name>
17 <file name="log/test33.txt">
18 012345678
19 012345678
20 012345678
21 012345678
22 012345678
23 012345678
24 012345678
25 012345678
26 012345678
27 012345678
28 </file>
29  <command>
30 http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
31 </command>
32 </test>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent:.*
38 </strip>
39 <protocol>
40 PUT /33 HTTP/1.1
41 Content-Range: bytes 50-99/100
42 User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)
43 Host: 127.0.0.1:8999
44 Pragma: no-cache
45 Accept: */*
46 Content-Length: 50
47 Expect: 100-continue
48
49 012345678
50 012345678
51 012345678
52 012345678
53 012345678
54 </protocol>
55 </verify>