Please sign in to comment.
|@@ -105,7 +105,7 @@ def process_view(self, request, callback, callback_args, callback_kwargs):|
|if getattr(callback, 'csrf_exempt', False):|
|- # 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.|