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

curl-and-php

POST with HEAD?

From: Liu Shan Shui <me_at_lx.sg>
Date: Fri, 7 Aug 2009 10:35:01 +0800

Dear cURL users,

 

Is it possible to combine POST with HEAD (sending a HTTP POST request and
expecting only headers in HTTP response)? I've tested with the options,
CURLOPT_NOBODY and CURLOPT_POST, switched around the order of setting them,
but they seem to be mutually exclusive.

 

If not, is there any alternative way where I can send a GET/POST request and
have cURL to not wait and simply ignore the entire response?

 

With regards,

Liu Shan Shui

me_at_lx.sg

"Life would be much easier if I had the source code." - Anonymous

 

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-08-07