mirror of
https://github.com/django/django.git
synced 2024-11-30 15:10:46 +01:00
Removed unused variable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8c442f21dc
commit
5997cb8ad4
@ -23,7 +23,6 @@ class ConditionalGetMiddleware(object):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user