- Fixed build on php-trunk
[m6w6/ext-http] / tests / HttpResponse_001.phpt
index b225f925b39f27807d65da0db614e3095c119a19..58fcf213b01f77b9e0bd211ed81463fb3d9e792d 100644 (file)
@@ -3,7 +3,7 @@ HttpResponse - send data with caching headers
 --SKIPIF--
 <?php 
 include 'skip.inc';
-checkver(5);
+checkmin("5.2.5");
 checkcgi();
 ?>
 --FILE--
@@ -14,11 +14,12 @@ HttpResponse::setData('foobar');
 HttpResponse::send();
 ?>
 --EXPECTF--
-X-Powered-By: PHP/%s
-ETag: "3858f62230ac3c915f300c664312c63f"
-Cache-Control: public, must-revalidate, max_age=3600
-Last-Modified: %s, %d %s 20%d %d:%d:%d GMT
-Content-Type: %s
+X-Powered-By: PHP/%a
+Cache-Control: public, must-revalidate, max-age=3600
+Last-Modified: %a, %d %a 20%d %d:%d:%d GMT
+Content-Type: %a
 Accept-Ranges: bytes
+ETag: "3858f62230ac3c915f300c664312c63f"
+Content-Length: 6
 
-foobar
\ No newline at end of file
+foobar