curl-and-php
Re: Header Request Question
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 18 Apr 2007 15:06:15 +0200 (CEST)
Date: Wed, 18 Apr 2007 15:06:15 +0200 (CEST)
On Wed, 18 Apr 2007, John Ricci wrote:
> So why can CURL not just send a GET/POST request and only read up to the end
> of the header.
It can. libcurl can at least, and I'm quite sure you can give a callback to
receive the download even with PHP/CURL and then you can make that stop the
transfer once you think it has receivied enough.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-04-18