Changeset 7836 for django/branches/gis/django/middleware
- Timestamp:
- 07/04/08 15:16:22 (6 months ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/django/middleware/http.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis
- Property svnmerge-integrated changed from /django/trunk:1-7767 to /django/trunk:1-7835
django/branches/gis/django/middleware/http.py
r6672 r7836 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
