Fix our caching logic to be more strict.

Review Request #4024 — Created April 5, 2013 and submitted

Information

Djblets
master

Reviewers

Fix our caching logic to be more strict.

Our caching logic took the Last Modified time over ETags, but this meant
that if ETags differed but Last Modified was the same, the cached
version would be considered good. We now take both into account when
checking cache validity.
Tested with some changes for RB.

RB's and Djblets's unit test suites passed.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/webapi/resources.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (a938d28)