Removed unused variable.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2007-10-31 04:04:07 +00:00
parent 8c442f21dc
commit 5997cb8ad4
1 changed files with 0 additions and 1 deletions

View File

@ -23,7 +23,6 @@ class ConditionalGetMiddleware(object):
response['Content-Length'] = '0' response['Content-Length'] = '0'
if response.has_header('Last-Modified'): if response.has_header('Last-Modified'):
last_mod = response['Last-Modified']
if_modified_since = request.META.get('HTTP_IF_MODIFIED_SINCE', None) if_modified_since = request.META.get('HTTP_IF_MODIFIED_SINCE', None)
if if_modified_since == response['Last-Modified']: if if_modified_since == response['Last-Modified']:
response.status_code = 304 response.status_code = 304