cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Only receive a header file

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 4 Mar 2010 13:03:22 -0600

On Thu, Mar 4, 2010 at 12:52 PM, dylan wrote:

> Does this mean that after a successful header only download I
> would be able to use  CURLINFO_CONTENT_LENGTH_DOWNLOAD?

Yes.

And of course, nobody would ever depend on the value of
a Content-Length header to allocate a buffer...
or would they?
  http://secunia.com/advisories/38820/

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-04