upgrade test suite to 5.3
[m6w6/ext-http] / tests / request_gzip.phpt
index 6f78eda51a9f228da32ae27ef3ee047ea7627ab5..81f9bc4e66a2f24cbc24f92b71eddb8fa5830eff 100644 (file)
@@ -10,12 +10,12 @@ skipif(!http_support(HTTP_SUPPORT_REQUESTS), 'need curl support');
 <?php
 echo "-TEST\n";
 
-var_dump(http_parse_message(http_get('http://dev.iworks.at/.print_request.php?gzip=1', array('compress' => true))));
+var_dump(http_parse_message(http_get('http://dev.iworks.at/ext-http/.print_request.php?gzip=1', array('compress' => true))));
 
 echo "Done\n";
 --EXPECTF--
-%sTEST
-object(stdClass)#%d (%d) {
+%aTEST
+object(stdClass)%a {
   ["type"]=>
   int(2)
   ["httpVersion"]=>
@@ -26,7 +26,7 @@ object(stdClass)#%d (%d) {
   string(2) "OK"
   ["headers"]=>
   array(8) {
-    %s
+    %a
     ["Vary"]=>
     string(15) "Accept-Encoding"
     ["Content-Length"]=>