curl-library
Re: Documentation of CURLOPT_NOBODY
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 17 Oct 2003 09:50:55 +0200 (CEST)
Date: Fri, 17 Oct 2003 09:50:55 +0200 (CEST)
On Thu, 16 Oct 2003, Joerg Mueller-Tolk wrote:
> I was searching the docu for an option to do a HTTP HEAD without GET and
> didn't find anything. The sources told me to use CURLOPT_NOBODY. Do you also
> think the following excerpt could be a bit more informative?
>
> CURLOPT_NOBODY
> A non-zero parameter tells the library to not include
> the body-part in the output. This is only relevant for
> protocols that have separate header and body parts.
I agree. I recently added the following line to the above description:
"On HTTP(S) servers, this will make libcurl do a HEAD request."
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.phpReceived on 2003-10-17