fix Content-Range messages; remove superfluous Content-Lenght:0 header
[m6w6/ext-http] / tests / client012.phpt
index 71e5081a5f938220b3f7639ef9bd08702b756125..8db3afcc2c3807fcfcd80c25b4ef85e4bae432d5 100644 (file)
@@ -3,20 +3,21 @@ client ssl
 --SKIPIF--
 <?php 
 include "skipif.inc";
+skip_online_test();
+skip_client_test();
 ?>
 --FILE--
 <?php 
-
 echo "Test\n";
 
 $client = new http\Client;
 
-$client->setSslOptions(array("verify_peer" => true));
-$client->addSslOptions(array("verify_host" => 2));
+$client->setSslOptions(array("verifypeer" => true));
+$client->addSslOptions(array("verifyhost" => 2));
 var_dump(
        array(
-               "verify_peer" => true,
-               "verify_host" => 2,
+               "verifypeer" => true,
+               "verifyhost" => 2,
        ) === $client->getSslOptions()
 );