cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Ranged downloads on file:// URLs

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 29 Dec 2007 09:21:32 -0800

On Sat, Dec 29, 2007 at 11:42:39AM +0100, Daniel Egger wrote:
> In principle trivial, but I found a problem in the testing system.
> The verify stdout feature automatically adds a linebreak before
> diffing the results which means that I have to somehow add a linebreak
> into the test which is possible but somehow works against the purpose
> of a testcase that tests the range functionality. Any ideas how to do
> the following without the implicitly expected linebreak?

You might be able to encode the data in base64, but the cleaner way would
be to ensure that the range selected in the input ends on a newline :^)

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-12-29