Skip to content
Snippets Groups Projects
Commit d830edae authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #78328 by Bart: fixed incorrect Etag

parent 5cff7ffc
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment