cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Fw: HTTP HEAD request??

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 4 Oct 2003 16:02:09 +0200 (CEST)

On Fri, 3 Oct 2003, Marc Richards wrote:

> > CURLOPT_NOBODY is the name of the option in libcurl.
>
> Does that actually do a HEAD or does it just do a GET and discard the body?
> I don't want to stress the server unneccesarily.

It uses HEAD, as you can easily verify by using VERBOSE or similar.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-04