- allow passing request options to the ctor
[m6w6/ext-http] / tests / HttpRequest_003.phpt
index 40d0ba92a53d7ed2745abdf34f56dc26a6d15a96..32b134cffb6092d10cee040c4b10e6873a3eff2c 100644 (file)
@@ -4,17 +4,17 @@ HttpRequest SSL
 <?php
 include 'skip.inc';
 checkver(5);
+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"