<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Similar to test33
<info>
<keywords>
HTTP
HTTP PUT
Resume
</keywords>
</info>

# Server-side
<reply>
<data crlf="headers" nocheck="yes">
HTTP/1.1 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Accept-Ranges: bytes
Content-Length: 0
Connection: close
Content-Type: text/html

</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<name>
HTTP PUT rejects automatic 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 - --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>
