From 8de36cc08f2e1887f18954e0f32f5a3ca7a2e33c Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Thu, 24 Jul 2008 00:51:54 +0000 Subject: [PATCH] Clarified comment. --- lib/HTTP/ConditionalGet.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/HTTP/ConditionalGet.php b/lib/HTTP/ConditionalGet.php index d95120f..47b6932 100644 --- a/lib/HTTP/ConditionalGet.php +++ b/lib/HTTP/ConditionalGet.php @@ -220,7 +220,9 @@ class HTTP_ConditionalGet { protected function _isCacheValid() { if (null === $this->_etag) { - // ETag was our backup, so we know we don't have lmTime either + // lmTime is copied to ETag, so this condition implies that the + // client received neither ETag nor Last-Modified, so can't + // possibly has a valid cache. return false; } $isValid = ($this->resourceMatchedEtag() || $this->resourceNotModified());