- allow passing request options to the ctor
[m6w6/ext-http] / tests / HttpRequest_003.phpt
index e7c3b8c430eded45f263b5c6ff19fda9a66ac1cf..32b134cffb6092d10cee040c4b10e6873a3eff2c 100644 (file)
@@ -4,16 +4,17 @@ HttpRequest SSL
 <?php
 include 'skip.inc';
 checkver(5);
-checkurl('http://arweb.info');
+checkcls('HttpRequest');
+checkurl('arweb.info');
 ?>
 --FILE--
 <?php
+echo "-TEST\n";
 $r = new HttpRequest('https://ssl.arweb.info/iworks/data.txt');
 $r->send();
 var_dump($r->getResponseBody());
 ?>
 --EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
 string(10) "1234567890"
+