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

Side by Side Diff: LayoutTests/http/tests/cache/resources/referrer-echo.php

Issue 201973002: Re-set referrer on issuing a validation request for a cached resource. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Emit header()s first Created 6 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?php
2 header("Last-Modified: " . gmdate(DATE_RFC1123, time()));
3 header("Content-Type: text/javascript");
4 echo "var referrer = '" . (isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFE RER"] : "none") . "';";
5 ?>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698