Commits

Andriy Kornatskyy committed ac853bf

If-Modofied-Since is considered weak if the cached response has etag.

Comments (0)

Files changed (1)

demos/template/src/public/web/tests/test_views.py

         """
         assert 200 == self.client.get('/static/css/site.css')
         last_modified = self.client.headers['Last-Modified'][0]
-        assert 304 == self.client.get('/static/css/site.css', environ={
+        assert 200 == self.client.get('/static/css/site.css', environ={
             'HTTP_IF_MODIFIED_SINCE': last_modified
         })