- improve response performance
[m6w6/ext-http] / tests / send_file_005.phpt
index b5287a37ac609cbd7dbf2ed1f5c6529abd51c286..d6705ea1f3101cddbf882c2a6b7accd4625c8a9b 100644 (file)
@@ -5,9 +5,10 @@ http_send_file() multiple ranges
 include 'skip.inc';
 checkcgi();
 ?>
+--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_file('data.txt');
 ?>