      Use Django's session framework for authentication.
      """
  
      def authenticate(self, request):
          # TODO: Switch this back to request.POST, and let MultiPartParser deal with the consequences.
          if getattr(request, 'user', None) and request.user.is_active:
              # If this is a POST request we enforce CSRF validation.
              if request.method.upper() == 'POST':
                  # Temporarily replace request.POST with .RAW_CONTENT,
                  # so that we use our more generic request parsing
 
</s> remove         provide a form that can be used to submit arbitrary content."""
 </s> add         provide a form that can be used to submit arbitrary content.
        """ </s> remove         requested with an 'Accept: */*' header, although with verbose style formatting if appropriate.)"""
 </s> add         requested with an 'Accept: */*' header, although with verbose style formatting if appropriate.)
        """ </s> remove         """Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
        (Which are typically application/x-www-form-urlencoded)"""
 </s> add         """
        Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
        (Which are typically application/x-www-form-urlencoded)
        """
        # TODO: Switch this back to request.POST, and let FormParser/MultiPartParser deal with the consequences.
      Use Django's session framework for authentication.
      """
  
      def authenticate(self, request):
        # TODO: Switch this back to request.POST, and let FormParser/MultiPartParser deal with the consequences.
          if getattr(request, 'user', None) and request.user.is_active:
              # If this is a POST request we enforce CSRF validation.
              if request.method.upper() == 'POST':
                  # Temporarily replace request.POST with .RAW_CONTENT,
                  # so that we use our more generic request parsing
keep keep keep keep replace keep keep keep keep keep
 More tests, getting new serialization into resource 
djangorestframework/authentication.py