REST in Zend_Rest and Zend_Http?
REST take advtange of http. What's difference to use Zend_Rest and Zend_Http? I find Zend_Http is more powerful because I can send a customized http header on the request.
How I can send http header via Zend_Rest_Client? because, some chargable web service which requests customized header for auth.
Besides, I want to setup REST web service which will use http header. Which method in following is better choice? Thanks a lot.
1) Use Zend_Rest_Server. More convenient but seems no custom header..
2) Use MVC and set the router to handle incoming http and response with own header and XML respond.
|