New test cases added
[platform/upstream/curl.git] / tests / data / test33
1 # Server-side
2 <reply>
3 <data>
4
5 </data>
6 </reply>
7
8 # Client-side
9 <client>
10  <name>
11 HTTP PUT with resume
12  </name>
13 <file name="log/test33.txt">
14 012345678
15 012345678
16 012345678
17 012345678
18 012345678
19 012345678
20 012345678
21 012345678
22 012345678
23 012345678
24 </file>
25  <command>
26 http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
27 </command>
28 </test>
29
30 # Verify data after the test has been "shot"
31 <verify>
32 <strip>
33 ^User-Agent:.*
34 </strip>
35 <protocol>
36 PUT /33 HTTP/1.1\r
37 Content-Range: bytes 50-99/100\r
38 User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)\r
39 Host: 127.0.0.1:8999\r
40 Pragma: no-cache\r
41 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
42 Content-Length: 50\r
43 \r
44 012345678
45 012345678
46 012345678
47 012345678
48 012345678
49 </protocol>
50 </verify>