Commit d830edae authored by Dries's avatar Dries
Browse files

- Patch #78328 by Bart: fixed incorrect Etag

parent 5cff7ffc
...@@ -414,7 +414,7 @@ function drupal_page_header() { ...@@ -414,7 +414,7 @@ function drupal_page_header() {
if (($modified_since !== NULL || $none_match !== NULL) && $modified_since !== FALSE && $none_match !== FALSE) { if (($modified_since !== NULL || $none_match !== NULL) && $modified_since !== FALSE && $none_match !== FALSE) {
header('HTTP/1.1 304 Not Modified'); header('HTTP/1.1 304 Not Modified');
// All 304 responses must send an etag if the 200 response for the same object contained an etag // All 304 responses must send an etag if the 200 response for the same object contained an etag
header('Etag: $etag'); header("Etag: $etag");
exit(); exit();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment