| Index: LayoutTests/http/tests/cache/resources/stylesheet304.php
|
| diff --git a/LayoutTests/http/tests/cache/resources/stylesheet304.php b/LayoutTests/http/tests/cache/resources/stylesheet304.php
|
| index 1588a5b95fbd51da68ef6155ae6e8236bc96908b..87578fab1d32cb8fca14d56b0d8ec6d2ff4683f6 100644
|
| --- a/LayoutTests/http/tests/cache/resources/stylesheet304.php
|
| +++ b/LayoutTests/http/tests/cache/resources/stylesheet304.php
|
| @@ -1,21 +1,21 @@
|
| -<?php
|
| -require_once '../../resources/portabilityLayer.php';
|
| -
|
| -clearstatcache();
|
| -
|
| -if ($_SERVER["HTTP_IF_MODIFIED_SINCE"]) {
|
| - header("HTTP/1.0 304 Not Modified");
|
| - exit();
|
| -}
|
| -$one_year = 12 * 31 * 24 * 60 * 60;
|
| -$last_modified = gmdate(DATE_RFC1123, time() - $one_year);
|
| -$expires = gmdate(DATE_RFC1123, time() + $one_year);
|
| -
|
| -header('Cache-Control: public, max-age=' . $one_year);
|
| -header('Expires: ' . $expires);
|
| -header('Content-Type: text/css');
|
| -header('Content-Length: 0');
|
| -header('Etag: 123456789');
|
| -header('Last-Modified: ' . $last_modified);
|
| -exit();
|
| -?>
|
| +<?php
|
| +require_once '../../resources/portabilityLayer.php';
|
| +
|
| +clearstatcache();
|
| +
|
| +if ($_SERVER["HTTP_IF_MODIFIED_SINCE"]) {
|
| + header("HTTP/1.0 304 Not Modified");
|
| + exit();
|
| +}
|
| +$one_year = 12 * 31 * 24 * 60 * 60;
|
| +$last_modified = gmdate(DATE_RFC1123, time() - $one_year);
|
| +$expires = gmdate(DATE_RFC1123, time() + $one_year);
|
| +
|
| +header('Cache-Control: public, max-age=' . $one_year);
|
| +header('Expires: ' . $expires);
|
| +header('Content-Type: text/css');
|
| +header('Content-Length: 0');
|
| +header('Etag: 123456789');
|
| +header('Last-Modified: ' . $last_modified);
|
| +exit();
|
| +?>
|
|
|