<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP PUT
Resume
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK swsclose

</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<name>
HTTP PUT rejects upload resume
</name>
<file name="%LOGDIR/test%TESTNUMBER.txt">
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
</file>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C 50 --no-progress-meter
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<errorcode>
43
</errorcode>
<stderr mode="text">
curl: (43) HTTP upload cannot be resumed
</stderr>
<protocol nonewline="yes">

</protocol>
</verify>
</testcase>
