summaryrefslogtreecommitdiff
path: root/tests/docroot/www/sendfile.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docroot/www/sendfile.php')
-rw-r--r--tests/docroot/www/sendfile.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/docroot/www/sendfile.php b/tests/docroot/www/sendfile.php
new file mode 100644
index 00000000..ecdd7125
--- /dev/null
+++ b/tests/docroot/www/sendfile.php
@@ -0,0 +1,7 @@
+<?php
+
+header("X-Sendfile: " . getcwd() . "/index.txt");
+
+if ($_GET["range"]) header("X-Sendfile-Range: " . $_GET["range"]);
+
+?> \ No newline at end of file