projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- allow passing request options to the ctor
[m6w6/ext-http]
/
tests
/
HttpRequest_003.phpt
diff --git
a/tests/HttpRequest_003.phpt
b/tests/HttpRequest_003.phpt
index e7c3b8c430eded45f263b5c6ff19fda9a66ac1cf..32b134cffb6092d10cee040c4b10e6873a3eff2c 100644
(file)
--- a/
tests/HttpRequest_003.phpt
+++ b/
tests/HttpRequest_003.phpt
@@
-4,16
+4,17
@@
HttpRequest SSL
<?php
include 'skip.inc';
checkver(5);
<?php
include 'skip.inc';
checkver(5);
-checkurl('http://arweb.info');
+checkcls('HttpRequest');
+checkurl('arweb.info');
?>
--FILE--
<?php
?>
--FILE--
<?php
+echo "-TEST\n";
$r = new HttpRequest('https://ssl.arweb.info/iworks/data.txt');
$r->send();
var_dump($r->getResponseBody());
?>
--EXPECTF--
$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"
string(10) "1234567890"
+