curl-library
Re: Pulling only header info
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 4 Mar 2005 11:27:47 -0800
Date: Fri, 4 Mar 2005 11:27:47 -0800
On Fri, Mar 04, 2005 at 06:20:01PM +0000, Operator Tank wrote:
> Is there any flag that I have missed out to set in libcurl, for
> curl_easy_opt(), to make sure that we request only the header
> information rather than the whole document. Something similar to what
> we have in the curl command line tool:
> curl -I www.intranet.com
Yes, there is such a flag. It's even documented: "On HTTP(S)
servers, this will make libcurl do a HEAD request."
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2005-03-04