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