Browse files

Removed unused variable.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8c442f2 commit 5997cb8ad491f250bb0ab6de8f4867af7492aadb @gdub gdub committed Oct 31, 2007
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

0 comments on commit 5997cb8

Please sign in to comment.