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

Side by Side Diff: LayoutTests/http/tests/security/resources/conditional-cors.php

Issue 146853003: Correctly handle CORS access checks over cache-validating responses. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/security/resources/iframe-crossorigin-script.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 if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
3 header('HTTP/1.0 304 Not Modified');
4 exit;
5 }
6 header('Access-Control-Allow-Origin: *');
7 header('Last-Modified: ' . gmdate("D, d M Y H:i:s", filemtime("conditional-cors. php")) . " GMT");
8 header('Content-Type: application/javascript');
9 echo '2;'
10 ?>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/resources/iframe-crossorigin-script.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698