Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test33
blob82cf80b30904723aab872d5b69b3bbe011c80e67
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP PUT
6 Resume
7 Content-Range
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 OK swsclose
15 </data>
16 </reply>
18 # Client-side
19 <client>
20 <server>
21 http
22 </server>
23  <name>
24 HTTP PUT with resume
25  </name>
26 <file name="log/test33.txt">
27 012345678
28 012345678
29 012345678
30 012345678
31 012345678
32 012345678
33 012345678
34 012345678
35 012345678
36 012345678
37 </file>
38  <command>
39 http://%HOSTIP:%HTTPPORT/33 -Tlog/test33.txt -C 50
40 </command>
41 </client>
43 # Verify data after the test has been "shot"
44 <verify>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <protocol>
49 PUT /33 HTTP/1.1\r
50 Content-Range: bytes 50-99/100\r
51 User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)\r
52 Host: %HOSTIP:%HTTPPORT\r
53 Accept: */*\r
54 Content-Length: 50\r
55 Expect: 100-continue\r
57 012345678
58 012345678
59 012345678
60 012345678
61 012345678
62 </protocol>
63 </verify>
64 </testcase>