Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed unused variable.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5997cb8ad491f250bb0ab6de8f4867af7492aadb 1 parent 8c442f2
@gdub gdub authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/middleware/http.py
View
1  django/middleware/http.py
@@ -23,7 +23,6 @@ def process_response(self, request, response):
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
Please sign in to comment.
Something went wrong with that request. Please try again.