multiple setLastModified may set CACHED when page needs refresh

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from jmg <[email protected]>:

The documentation says:
"If I am called more than once, I ignore attempts to set Last-Modified earlier, only replacing the Last-Modified time if it is to a later value."

But, if you call it more than once, and a call attempts to set last modified earlier than the if-modified-since header it won't change the last-modified time, but it will set the cache flag on the request not sending a body even though it should have been sent.

----------
Type     : defect
Component: web
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3807
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.