Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php

Issue 1844053003: CREDENTIAL: Rework the integration with Fetch (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear attachedcredentials Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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");
+?>

Powered by Google App Engine
This is Rietveld 408576698