- add ob_(deflate|inflate)handler
[m6w6/ext-http] / tests / send_data_007.phpt
index b02cad9bbb3b8c5b36efb6c398d342e0415417ae..478d58dc82c028c0059e9e3e60a6dfc666c3f548 100644 (file)
@@ -3,17 +3,21 @@ http_send_data() etag caching
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_IF_NONE_MATCH="0bee89b07a248e27c83fc3d5951213c1"
 --FILE--
 <?php
+include 'log.inc';
+log_prepare(_CACHE_LOG);
 http_cache_etag();
 http_send_data("abc\n");
 ?>
 --EXPECTF--
 Status: 304
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Cache-Control: private, must-revalidate, max-age=0
 %s