Skip to content

Commit

Permalink
using a middleware ConditionalGetMiddleware which will take care of s…
Browse files Browse the repository at this point in the history
…etting the appropriatecontent-length header and value.
  • Loading branch information
shsu committed Oct 10, 2012
1 parent 2ba52ee commit 45f0306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
) )


IGNORABLE_404_STARTS = ('/cgi-bin/', '/_vti_bin', '/_vti_inf') IGNORABLE_404_STARTS = ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
Expand Down

0 comments on commit 45f0306

Please sign in to comment.