- fixup tests
[m6w6/ext-http] / tests / send_data_007.phpt
index f7b60f0806515676dca96ad77e5781d6727f7d89..a0736617a58b76db40456c0d88596c23cb35e66a 100644 (file)
@@ -1,20 +1,24 @@
 --TEST--
-http_send_data() etag caching
+http_send_data() NIL-NIL range
 --SKIPIF--
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmin(5);
 ?>
 --ENV--
-HTTP_IF_NONE_MATCH="0bee89b07a248e27c83fc3d5951213c1"
+HTTP_RANGE=bytes=0-0
 --FILE--
 <?php
-http_cache_etag();
-http_send_data("abc\n");
+http_send_content_type('text/plain');
+http_send_data("abc");
 ?>
 --EXPECTF--
-Status: 304
-Content-type: text/html
+Status: 206
 X-Powered-By: PHP/%s
-Cache-Control: private, must-revalidate, max-age=0
-%s
+Content-Type: text/plain
+Accept-Ranges: bytes
+Content-Range: bytes 0-0/3
+Content-Length: 1
+
+a