Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-body.php |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-body.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-body.php |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..91aa2955d38be3cbb037a4450e8429faaedf4ae2 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-body.php |
| @@ -0,0 +1,8 @@ |
| +<?php |
| + if ($_SERVER['REQUEST_METHOD'] == 'POST') { |
| + header ("HTTP/1.1 302"); |
| + header("Location: ./navigation-redirect-body.php?redirect"); |
| + } else { |
| + echo urlencode($_SERVER['REQUEST_URI']); |
| + } |
| +?> |