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

curl-and-php

unsubscribe: skeller@healthtvchannel.org

From: default <default_at_healthtvchannel.org>
Date: Fri, 03 Oct 2003 08:25:12 -0800

 

-----Original Message-----
From: curl-and-php-admin_at_lists.sourceforge.net
[mailto:curl-and-php-admin_at_lists.sourceforge.net] On Behalf Of Marc
Richards
Sent: Friday, October 03, 2003 7:43 AM
To: curl-and-php_at_lists.sourceforge.net
Subject: Fw: HTTP HEAD request??

"Daniel Stenberg" <daniel_at_haxx.se> wrote in message
news:Pine.LNX.4.58.0310031505310.18734_at_linux3.contactor.se...
> On Mon, 29 Sep 2003, Marc Richards wrote:
>
> > Is it possible to do a http HEAD (instead of GET, POST or PUT)
request using
> > the php curl extension? I know that curl itself can do it, but I
wasn't
> > able to find the appropriate CURLOPT constant in the documentation
for the
> > php extension.
>
> 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.

Marc

------------------------------------------------------- This sf.net
email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-04