Re: Redirect (and cookies) support in HTTP_Request2 / HTTP_Client2?
| From: | Alexey Borzov | Date: | Mon, 02 Nov 2009 08:34:21 +0000 |
| Subject: | Re: Redirect (and cookies) support in HTTP_Request2 / HTTP_Client2? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53006@lists.php.net to get a copy of this message | ||
Hi Bill,
Bill Shupp wrote:
Sorry, can't really help here. socketOptions aren't used by HTTP_Request, they are only passed to Net_Socket's constructor, which uses them to create socket context. So if this doesn't work, there are most probably some issues with PHP's SSL support.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".That kinda sounded like a feature request, which it isn't. I'm really just trying to find out if it's possible with the current HTTP_Request version.