curl-library
Re: Only receive a header file
From: Justin Skists <j.skists_at_googlemail.com>
Date: Thu, 4 Mar 2010 16:43:10 +0000
Date: Thu, 4 Mar 2010 16:43:10 +0000
On 4 March 2010 16:31, Olaf van der Spek <olafvdspek_at_gmail.com> wrote:
> > Or, since headers usually come in before the data, you could read the
> > Content-Length header (through CURLOPT_HEADERFUNCTION) and act on it
> before
> > the data arrives (though CURLOPT_WRITEFUNCTION)? (Not 100% cetain that
> will
> > be the case)
>
> That's not a good idea.
>
>
No, it's not. I regretted mentioning it as soon as I hit send. :)
Justin.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-04