projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- release 1.0.1
[m6w6/ext-http]
/
tests
/
send_file_013.phpt
diff --git
a/tests/send_file_013.phpt
b/tests/send_file_013.phpt
index e97a09157c810a639eb5ff421d9701081eded4ed..1315488102b109f7077469a72c3cf02089f3c674 100644
(file)
--- a/
tests/send_file_013.phpt
+++ b/
tests/send_file_013.phpt
@@
-6,10
+6,9
@@
include 'skip.inc';
checkcgi();
checkmin(5.1);
?>
checkcgi();
checkmin(5.1);
?>
---ENV--
-HTTP_RANGE=bytes=-1111
--FILE--
<?php
--FILE--
<?php
+$_SERVER['HTTP_RANGE'] = 'bytes=-1111';
http_send_file('data.txt');
?>
--EXPECTF--
http_send_file('data.txt');
?>
--EXPECTF--