- improve response performance
[m6w6/ext-http] / tests / send_ifrange_003.phpt
index 902130f135558422877c1106b822e095020f3f71..746d9c73daa8f8253f06b8e9b678907eb432ba8a 100644 (file)
@@ -5,10 +5,11 @@ http_send() If-Range
 include 'skip.inc';
 checkcgi();
 ?>
+--ENV--
+HTTP_RANGE=bytes=0-1
+HTTP_IF_RANGE="abcd"
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-1';
-$_SERVER['HTTP_IF_RANGE'] = '"abcd"';
 http_cache_etag('abc');
 http_send_file(__FILE__);
 ?>