- minimum required curl versions curl-config doesn't understand --features
[m6w6/ext-http] / tests / send_file_011.phpt
index 1012da4784790f7cfcad59b9cf681ad180d3c9ae..df6ec6021ac6d066fbac685e9b9f308c1b8aa141 100644 (file)
@@ -6,9 +6,10 @@ include 'skip.inc';
 checkcgi();
 checkmin(5.1);
 ?>
+--ENV--
+HTTP_RANGE=bytes=1000- 
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=1000- ';
 http_send_file('data.txt');
 ?>
 --EXPECTF--