- fix write access of HttpMessage headers array in inherited context
[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 $r = new HttpRequest('https://ssl.arweb.info/iworks/data.txt');
12 $r->send();
13 var_dump($r->getResponseBody());
14 ?>
15 --EXPECTF--
16 Content-type: text/html
17 X-Powered-By: PHP/%s
18
19 string(10) "1234567890"
20