<?php
include 'skip.inc';
checkcgi();
+checkmin("5.2.5");
?>
+--ENV--
+HTTP_RANGE=bytes=0-1
+HTTP_IF_RANGE="abc"
--FILE--
<?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-1';
-$_SERVER['HTTP_IF_RANGE'] = '"abc"';
http_cache_etag('abc');
http_send_file(__FILE__);
?>
--EXPECTF--
-Status: 206
+Status: 206%s
X-Powered-By: %s
Cache-Control: private, must-revalidate, max-age=0
ETag: "abc"