Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

fixed rfc comment typo in middleware/

  • Loading branch information...
1 parent cb1614f commit f416ea9c8d8a5a7224236e429d51ce5606c95c5b @collinanderson collinanderson committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/middleware/
2  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 f416ea9

Please sign in to comment.
Something went wrong with that request. Please try again.