Re: Redirect (and cookies) support in HTTP_Request2 / HTTP_Client2?
| From: | Bill Shupp | Date: | Sun, 01 Nov 2009 23:53:23 +0000 |
| Subject: | Re: Redirect (and cookies) support in HTTP_Request2 / HTTP_Client2? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53004@lists.php.net to get a copy of this message | ||
On Nov 1, 2009, at 1:38 PM, Alexey Borzov wrote:
Hi Bill, Bill Shupp wrote:In the short term, can I get ssl peer validation working with HTTP_Request? This doesn't work for me: $http = new HTTP_Request('https://example.com', array('socketOptions' => array('verify_peer' => true))); I end up with a PEAR_Error, the message being "Operation timed out". Thanks, BillMy feeling is that I don't think we need both HTTP_Client2 and HTTP_Request2 going forward. Just put the missing features in HTTP_Request2. My current feature interest is that of redirects, but I can see the other HTTP_Client features being useful as well if you want to bring them over.I tend to agree that a separate package doesn't make sense. I'll probably be able to add redirect support to HTTP_Request2 in a few weeks, Cookie jar support is a more exotic feature and can wait a bit longer.