curl-users
Re: specify range with http PUT
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Feb 2007 22:34:16 +0100 (CET)
Date: Mon, 19 Feb 2007 22:34:16 +0100 (CET)
On Mon, 19 Feb 2007, John Meissen wrote:
> Actually, when doing a PUT with -r it correctly generates a Content-Range:
> header with the values specified. The only thing it doesn't do right is
> actually limit the data sent to that range. It creates a Content-Length:
> header with the size of the file and starts sending from the beginning.
>
> I can specify the starting location with -C, but I can't limit the size to
> just a small portion. It always sends from that point to the end of file.
> And mixing -r and -C just mangles the Content-Range: header.
Oh well, I'm open for fixes that improve this situation.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-02-19