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

- Patch #327269 by c960657: when drupal_page_cache_header() compares the...

- Patch #327269 by c960657: when drupal_page_cache_header() compares the client's If-Modified-Since header to $cache->created, it assumed a certain date format.  However, HTTP/1.1 allows several variations of the date format, i.e. the same time may be represented in slightly different ways. If the client sends the date in a different format than the one generated by Drupal, it would never receive a 304 Not Modified response.  Also added a good amount of tests for the drupal_page_cache_header() code.
parent 3aaffd33
Branches
Tags
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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment