Changes between Initial Version and Version 1 of Ticket #19705


Ignore:
Timestamp:
02/01/13 15:52:48 (2 years ago)
Author:
aaugustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19705

    • 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
  • Ticket #19705 – Description

    initial v1  
    11Two middleware check ETags for unmodified responses: `CommonMiddleware` and `ConditionalGetMiddleware` and they do it inconsistently.
    22
    3 If the response's ETag matches the request's If-Modified-Since:
     3If the response's ETag matches the request's If-None-Match:
    44- `ConditionalGetMiddleware` changes the response code to 304, preserving all headers; the content gets removed later on
    55- `CommonMiddleware` creates a new `HttpResponseNotModified` without content and simply restores the cookies.
Back to Top