- fixup tests
[m6w6/ext-http] / tests / request_gzip.phpt
index c947f62d7cf97b86482cad1efb7ae5fb20449559..7855a6f691f4f065f739024252cf254f58869798 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) {
+object(stdClass)%s {
   ["type"]=>
   int(2)
   ["httpVersion"]=>
@@ -30,20 +30,19 @@ object(stdClass)#%d (%d) {
     ["Vary"]=>
     string(15) "Accept-Encoding"
     ["Content-Length"]=>
-    string(2) "27"
+    string(2) "26"
     ["Content-Type"]=>
     string(9) "text/html"
     ["X-Original-Content-Encoding"]=>
     string(4) "gzip"
     ["X-Original-Content-Length"]=>
-    string(2) "52"
+    string(2) "51"
   }
   ["body"]=>
-  string(27) "Array
+  string(26) "Array
 (
     [gzip] => 1
 )
-
 "
   ["parentMessage"]=>
   NULL