...

View Full Version : [ZF] Http component, no response needed after a request.



jjshell
12-14-2008, 02:11 PM
Hi,

I am facing a little problem here. I need to send a HTTP request to an external ressource, and I don't need to have a response. Actually, no reponse should be sent.

The ZF Http component doesn't seem to like this approach:



$client = new Zend_Http_Client('http://localhost/test/sleep.php', array(
'timeout' => 0,
'storeresponse' => false));


$client->request('GET');

die('reached');


Is there a way to disable the exepctation of a response?

Regards,

-jj. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum