projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
40d0ba92a53d7ed2745abdf34f56dc26a6d15a96
[m6w6/ext-http]
/
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