xref: /curl/tests/data/test33 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP PUT
6Resume
7Content-Range
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK swsclose
14
15</data>
16</reply>
17
18# Client-side
19<client>
20<server>
21http
22</server>
23<name>
24HTTP PUT with resume
25</name>
26<file name="%LOGDIR/test%TESTNUMBER.txt">
27012345678
28012345678
29012345678
30012345678
31012345678
32012345678
33012345678
34012345678
35012345678
36012345678
37</file>
38<command>
39http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C 50
40</command>
41</client>
42
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46PUT /%TESTNUMBER HTTP/1.1
47Host: %HOSTIP:%HTTPPORT
48Content-Range: bytes 50-99/100
49User-Agent: curl/%VERSION
50Accept: */*
51Content-Length: 50
52
53012345678
54012345678
55012345678
56012345678
57012345678
58</protocol>
59</verify>
60</testcase>
61