PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTTP » HTTP_Request » Bug #7450

cannot request a https link through HTTP_REQUEST

Details

Submitted2006-04-21 09:36 UTC
Fromyemingwy at sina dot com
StatusBogus
PackageHTTP_Request
PHP Version4.4.2
OSWINXP
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..