X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2FHttpRequest_003.phpt;fp=tests%2FHttpRequest_003.phpt;h=cd6edd07b880b065ad3fafb5ff7fe392e9423805;hb=147fb6c4b51fc83e0d0393ca6999e36a36908157;hp=0000000000000000000000000000000000000000;hpb=9ee138af54714e0fba18766313d8a738b52196fe;p=m6w6%2Fext-http diff --git a/tests/HttpRequest_003.phpt b/tests/HttpRequest_003.phpt new file mode 100644 index 0000000..cd6edd0 --- /dev/null +++ b/tests/HttpRequest_003.phpt @@ -0,0 +1,18 @@ +--TEST-- +HttpRequest SSL +--SKIPIF-- + (int) PHP_VERSION) and die('skip PHP5 is required for Http classes'); +?> +--FILE-- +send(); +var_dump($r->getResponseBody()); +?> +--EXPECTF-- +Content-type: text/html +X-Powered-By: PHP/%s + +string(10) "1234567890"