- improve response performance
[m6w6/ext-http] / tests / send_file_009.phpt
index 3215b0393a5ecc22183a2ee66c3610c9bd1da0b4..bc157a95165fc08711eae3cfcf3acfee91648e09 100644 (file)
@@ -6,9 +6,10 @@ include 'skip.inc';
 checkcgi();
 checkmin(5.1);
 ?>
+--ENV--
+HTTP_RANGE=bytes=5-9
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=5-9';
 http_send_file('data.txt');
 ?>
 --EXPECTF--