Changes between Initial Version and Version 1 of Ticket #19705
- 02/01/2013 03:52:48 PM (4 years ago)
CommonMiddleware handles If-Modified-Since incorrectlyto
CommonMiddleware handles If-None-Match incorrectly
- Property Summary changed from
initial v1 1 1 Two middleware check ETags for unmodified responses: `CommonMiddleware` and `ConditionalGetMiddleware` and they do it inconsistently. 2 2 3 If the response's ETag matches the request's If- Modified-Since: 3 If the response's ETag matches the request's If-: 4 4 - `ConditionalGetMiddleware` changes the response code to 304, preserving all headers; the content gets removed later on 5 5 - `CommonMiddleware` creates a new `HttpResponseNotModified` without content and simply restores the cookies.