summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paste/httpexceptions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index a4e5074..110df96 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -359,7 +359,8 @@ class HTTPSeeOther(_HTTPMove):
class HTTPNotModified(HTTPRedirection):
# @@: but not always (HTTP section 14.18.1)...?
- required_headers = ('date',)
+ # @@: Removed 'date' requirement, as its not required for an ETag
+ # @@: FIXME: This should require either an ETag or a date header
code = 304
title = 'Not Modified'
message = ''