Index: third_party/WebKit/LayoutTests/http/tests/w3c/webperf/resources/redirect-opt-in.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/w3c/webperf/resources/redirect-opt-in.php b/third_party/WebKit/LayoutTests/http/tests/w3c/webperf/resources/redirect-opt-in.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2b75da0ad542142964c131b29cd8c3fee4524076 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/w3c/webperf/resources/redirect-opt-in.php |
@@ -0,0 +1,9 @@ |
+<?php |
+ $code = ctype_digit($_GET["code"]) ? $_GET["code"] : "302"; |
+ $location = $_GET["location"] ? $_GET["location"] : $_SERVER["SCRIPT_NAME"] . "?followed"; |
+ |
+ header("HTTP/1.1 $code"); |
+ header("Location: $location"); |
+ header("Timing-Allow-Origin: *"); |
+ exit; |
+?> |