- minimum required curl versions curl-config doesn't understand --features
[m6w6/ext-http] / tests / send_failed_precond_001.phpt
index 6424ecbe7609c0107f09ce224f0a934803357152..dd394e7ac113e7319cb59cb1952f04ce341cff7d 100644 (file)
@@ -6,10 +6,11 @@ include 'skip.inc';
 checkcgi();
 checkver(5.1);
 ?>
+--ENV--
+HTTP_RANGE=bytes=0-1
+HTTP_IF_UNMODIFIED_SINCE=Thu, 01 Jan 1970 00:16:40 GMT
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-1';
-$_SERVER['HTTP_IF_UNMODIFIED_SINCE'] = http_date(10000);
 http_cache_last_modified();
 http_send_file(__FILE__);
 ?>