Changes between Initial Version and Version 1 of Ticket #19705
- 02/01/2013 03:52:48 PM (3 years ago)
- Property Triage Stage changed from Unreviewed to Accepted
- Property Summary changed from CommonMiddleware handles If-Modified-Since incorrectly to CommonMiddleware handles If-None-Match incorrectly
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.