Jump to content

http text-only request, possible?


el_mariachi

Recommended Posts

Hello,

 

For my webapp I'm parsing data from a profile site. For this I use Zend_Http_Client.

 

$client = new Zend_Http_Client('http://johnsmith.profile.site.com'); 
$body = $client->request()->getBody();

 

After this I only need some textual information from the body.

 

The problem is that the request will load the whole site first (including images) before I can do anything with it. This makes the whole process slow.

 

Is there a way to make text-only requests?

Link to comment
https://forums.phpfreaks.com/topic/96492-http-text-only-request-possible/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.