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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php

Issue 232053005: Implement navigator.sendBeacon() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert CSP checking on redirects Created 6 years, 7 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: LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php
index 16a01ed7820b87df33c3155a748a3dfe35c72107..53fc00659ff40af7b39366f3905fdbc5ac1e7e00 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php
@@ -1,3 +1,4 @@
<?php
header("location: ".$_GET["url"]);
+header('HTTP/1.1 307 Temporary Redirect');
?>

Powered by Google App Engine
This is Rietveld 408576698