Opened 16 years ago
Closed 16 years ago
#7234 closed (duplicate)
Processing of If-Modified-Since does not work
Reported by: | Romamo | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I have found a bug in django.middleware.http.ConditionalGetMiddleware
Lines 22 and 29
Instead of
response.status = 304
must be
response.status_code = 304
Note:
See TracTickets
for help on using tickets.
In addition line 26 must be extended to