1. Andriy Kornatskyy
  2. wheezy.web

Commits

Andriy Kornatskyy  committed ac853bf

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

  • Participants
  • Parent commits 1eaa979
  • Branches default

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
         """
         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
         })