- enable zlib by default
[m6w6/ext-http] / tests / send_data_002.phpt
index 3e982dffe87aa811a17ac2855015f702ec2fcc9d..4e8f07beda4c6a6ad9bb207b6864cdd961bce8df 100644 (file)
@@ -5,10 +5,9 @@ http_send_data() NUM-NUM range
 include 'skip.inc';
 checkcgi();
 ?>
---ENV--
-HTTP_RANGE=bytes=5-6
 --FILE--
 <?php
+$_SERVER['HTTP_RANGE'] = 'bytes=5-6';
 http_send_content_type('text/plain');
 http_send_data(str_repeat('123abc', 1000));
 ?>