Browse files

Merge pull request #366 from collinanderson/patch-6

fixed rfc comment typo in middleware/
  • Loading branch information...
2 parents cb1614f + f416ea9 commit 611a2b266b2f57f42e4a3f0ac04d560e805c08cf @alex alex committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/middleware/
@@ -105,7 +105,7 @@ def process_view(self, request, callback, callback_args, callback_kwargs):
if getattr(callback, 'csrf_exempt', False):
return None
- # Assume that anything not defined as 'safe' by RC2616 needs protection
+ # Assume that anything not defined as 'safe' by RFC2616 needs protection
if request.method not in ('GET', 'HEAD', 'OPTIONS', 'TRACE'):
if getattr(request, '_dont_enforce_csrf_checks', False):
# Mechanism to turn off CSRF checks for test suite.

0 comments on commit 611a2b2

Please sign in to comment.