branch off v1 as R_1_7
[m6w6/ext-http] / tests / send_data_005.phpt
index 286c7e996896dbec3a0cde16a4a07e50282a87cf..c373b105fb0d4326463e36e6b7b61b0001c76298 100644 (file)
@@ -4,13 +4,14 @@ http_send_data() oversized range
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmin("5.2.5");
 ?>
+--ENV--
+HTTP_RANGE=bytes=5990-6000
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=5990-6000';
 http_send_content_type('text/plain');
 http_send_data(str_repeat('123abc', 1000));
 ?>
 --EXPECTF--
-Status: 416
-%s
\ No newline at end of file
+Status: 416%a
\ No newline at end of file