Author: gwilson
Date: 2007-10-30 23:04:07 -0500 (Tue, 30 Oct 2007)
New Revision: 6635
Modified:
django/trunk/django/middleware/http.py
Log:
Removed unused variable.
Modified: django/trunk/django/middleware/http.py
===================================================================
--- django/trunk/django/middleware/http.py 2007-10-31 03:59:40 UTC (rev
6634)
+++ django/trunk/django/middleware/http.py 2007-10-31 04:04:07 UTC (rev
6635)
@@ -23,7 +23,6 @@
response['Content-Length'] = '0'
if response.has_header('Last-Modified'):
- last_mod = response['Last-Modified']
if_modified_since = request.META.get('HTTP_IF_MODIFIED_SINCE',
None)
if if_modified_since == response['Last-Modified']:
response.status_code = 304
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---