Changeset 7793
- Timestamp:
- 06/30/08 02:03:58 (2 months ago)
- Files:
-
- django/trunk/django/middleware/http.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/middleware/http.py
r6662 r7793 20 20 # automatically removes content for this status code (in 21 21 # http.conditional_content_removal()). 22 response.status = 30422 response.status_code = 304 23 23 24 24 if response.has_header('Last-Modified'): … … 27 27 # Setting the status code is enough here (same reasons as 28 28 # above). 29 response.status = 30429 response.status_code = 304 30 30 31 31 return response
