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.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/docroot/www/sendfile.php b/tests/docroot/www/sendfile.php
deleted file mode 100644
index e4602203..00000000
--- a/tests/docroot/www/sendfile.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-function pathencode($path) {
- return str_replace(',', '%2c', urlencode($path));
-}
-
-$val = "X-Sendfile2: " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range"];
-
-if (isset($_GET["range2"])) $val .= ", " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range2"];
-
-header($val);
-
-?> \ No newline at end of file