release 1.7.6
[m6w6/ext-http] / tests / send_data_006.phpt
index 7771b8b9e38714b6438841f7ea49ef3b1ac3d26d..418d4f0a5357855e86486fffefd9f330e7c521c6 100644 (file)
@@ -4,17 +4,17 @@ http_send_data() multiple ranges
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmin("5.2.5");
 ?>
 --ENV--
 HTTP_RANGE=bytes=0-3, 4-5,9-11
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-3, 4-5,9-11';
 http_send_content_type('text/plain');
 http_send_data(str_repeat('123abc', 1000));
 ?>
 --EXPECTF--
-Status: 206
+Status: 206%s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Type: multipart/byteranges; boundary=%d.%d