projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- parameter to set*() and add*() methods is optional
[m6w6/ext-http]
/
tests
/
HttpRequest_003.phpt
1
--TEST--
2
HttpRequest SSL
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkver(5);
7
checkcls('HttpRequest');
8
checkurl('arweb.info');
9
?>
10
--FILE--
11
<?php
12
echo "-TEST\n";
13
$r = new HttpRequest('https://ssl.arweb.info/iworks/data.txt');
14
$r->send();
15
var_dump($r->getResponseBody());
16
?>
17
--EXPECTF--
18
%sTEST
19
string(10) "1234567890"
20