- fix PHP4 build (has no only_exceptions INI setting
[m6w6/ext-http] / tests / HttpRequest_003.phpt
1 --TEST--
2 HttpRequest SSL
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkver(5);
7 checkurl('arweb.info');
8 ?>
9 --FILE--
10 <?php
11 echo "-TEST\n";
12 $r = new HttpRequest('https://ssl.arweb.info/iworks/data.txt');
13 $r->send();
14 var_dump($r->getResponseBody());
15 ?>
16 --EXPECTF--
17 %sTEST
18 string(10) "1234567890"
19