HTTP HEAD request using curl??

From: Date: Tue, 30 Sep 2003 19:04:44 +0000
Subject: HTTP HEAD request using curl??
Groups: php.general 
Request: Send a blank email to php-general+get-164443@lists.php.net to get a copy of this message
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. I need to do a whole bunch of url calls but all I need is the headers, I don't have curl support compiled in and I probably won't bother compiling in if it can't do HEAD (I'll just use fopen). Has anybody been able to do this? Marc

« previous php.general (#164443) next »