Home » HTTP » HTTP_Request » Bug #7450
cannot request a https link through HTTP_REQUEST
Details
| Submitted | 2006-04-21 09:36 UTC |
|---|---|
| From | yemingwy at sina dot com |
| Status | Bogus |
| Package | HTTP_Request |
| PHP Version | 4.4.2 |
| OS | WINXP |
| Roadmaps | (Not assigned) |
Comments
[2006-04-21 09:36 UTC] yemingwy at sina dot com
Description:
------------
i want to get body of a https link, but i got nothing, i don't know why is happend, i heard pear cannot transfer https link, is right?
Test script:
---------------
$codeurl = "https://xxxxx/xxxx/test.php";
$http = new HTTP_Request($codeurl);
$http->addQueryString('param1', "2222");
$http->sendRequest();
$res_re = $http->getResponseBody();
/*XML_Unserializer*/
echo('<pre>');
print_r($responseData);
echo('</pre>');
Expected result:
----------------
Array
(
[test] => Array
(
[count] => 8
[value] => test
)
)
Actual result:
--------------
$res_re is empty..