branch off v1 as R_1_7
[m6w6/ext-http] / tests / HttpRequest_002.phpt
index 5710d598f565e12011b0bd842fbe72a4dab9572f..736df23903c2680f5eb9c55f7286fd3c31f9fb38 100644 (file)
@@ -3,7 +3,7 @@ HttpRequest GET/POST
 --SKIPIF--
 <?php
 include 'skip.inc';
-checkmin(5);
+checkmin("5.2.5");
 checkcls('HttpRequest');
 checkurl('www.google.com');
 checkurl('dev.iworks.at');
@@ -28,7 +28,7 @@ var_dump($r->getResponseMessage()->getResponseCode());
 echo "Done";
 ?>
 --EXPECTF--
-%sTEST
+%aTEST
 Array
 (
     [effective_url] => http://www.google.com/
@@ -48,7 +48,7 @@ Array
     [content_length_download] => %d
     [content_length_upload] => %d
     [starttransfer_time] => %f
-    [content_type] => text/html
+    [content_type] => %s
     [redirect_time] => %d
     [redirect_count] => %d
     [connect_code] => %d
@@ -56,10 +56,10 @@ Array
     [proxyauth_avail] => %d
     [os_errno] => %d
     [num_connects] => %d
-    [ssl_engines] => Array%s
-
-    [cookies] => Array%s
-
+    [ssl_engines] => Array
+    %a
+    [cookies] => Array
+    %a
     [error] => 
 )
 Array
@@ -76,7 +76,7 @@ Array
         (
             [name] => data.txt
             [type] => text/plain
-            [tmp_name] => %s
+            [tmp_name] => %a
             [error] => 0
             [size] => 1010
         )