# Similar to test33
HTTP
HTTP PUT
Resume
Content-Range
# Server-side
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
# Client-side
http
HTTP PUT with resume from end of already-uploaded file
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Tlog/test%TESTNUMBER.txt -C -
# Verify data after the test has been "shot"
# curl doesn't do a HEAD request on the remote file so it has no idea whether
# it can skip part of the file or not. Instead, it sends the entire file.
PUT /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Content-Range: bytes 0-99/100
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 100
Expect: 100-continue
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678