cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Regression: does not ignore HTTP/1.1 headers when -0 isspecified

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 15 Jul 2004 10:11:32 +0200 (CEST)

On Wed, 14 Jul 2004, Toby Peterson wrote:

> The last sentence is fairly significant. It suggests (to me) that curl
> should simply ignore an obviously bogus Content-Length (< 0), and try to
> retrieve the file anyway. Thoughts?

I agree. Content-Length lines with content < 0 should probably just be
ignored.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-15