Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..896f843d163488d99ca775e84fe07fff074f52ed |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php |
| @@ -0,0 +1,8 @@ |
| +<?php |
| +$origin = "http://127.0.0.1:8000"; |
| +if ($_GET['origin']) |
| + $origin = $_GET['origin']; |
| + |
| +header("HTTP/1.1 307 Moved Temporarily"); |
| +header("Location: ${origin}/credentialmanager/echo-post.php"); |
| +?> |