cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Ranged downloads on file:// URLs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Jan 2008 15:44:14 +0100 (CET)

On Tue, 8 Jan 2008, Daniel Egger wrote:

>> Isn't test case 1020 testing a case that should work as it works like that
>> with FTP and HTTP?
>
> Yes, but the (curl) range syntax is so obscure to me that I haven't thought
> about the special cases carefully.

The "-[number]" case isn't that special imho. How else would you specify the
last N bytes of a file? And IIRC, that's how HTTP ranges work and is why we
support this style in the first place...

> If no one gets around I'll do a new patch with new test cases based on your
> version by the end of the week or so.

Great!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-08