Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / inspector / network / resources / cached-script.php
1 <?php
2     if ($_SERVER["HTTP_IF_MODIFIED_SINCE"]) {
3         header("HTTP/1.0 304 Not Modified");
4         exit;
5     }
6
7     header("Cache-control: max-age=3600");
8     header("Expires: " . gmdate(DATE_RFC1123, time() + 600));
9     header("Last-Modified: " . gmdate(DATE_RFC1123, time() - 600));
10     header("Content-Type:text/javascript; charset=UTF-8");
11 ?>
12 console.log("Done.");