  
      def validate_request(self, data, files=None):
          """
          Given the request content return the cleaned, validated content.
          Typically raises a :exc:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
          """
          return data
  
      def filter_response(self, obj):
          """
 
</s> remove         Raises a :exc:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
 </s> add         Raises a :exc:`response.ImmediateResponse` with status code 400 (Bad Request) on failure. </s> remove         Raises a :exc:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
 </s> add         Raises a :exc:`response.ImmediateResponse` with status code 400 (Bad Request) on failure. </s> remove     :exc:`response.ErrorResponse` with status code 400. If set to true, only
 </s> add     :exc:`response.ImmediateResponse` with status code 400. If set to true, only </s> remove         May raise a 415 ErrorResponse (Unsupported Media Type), or a 400 ErrorResponse (Bad Request).
 </s> add         May raise a 415 ImmediateResponse (Unsupported Media Type), or a 400 ImmediateResponse (Bad Request). </s> remove         self.assertRaises(ErrorResponse, validator.validate_request, content, None)
 </s> add         self.assertRaises(ImmediateResponse, validator.validate_request, content, None)
        Typically raises a :exc:`response.ImmediateResponse` with status code 400 (Bad Request) on failure.
  
      def validate_request(self, data, files=None):
          """
          Given the request content return the cleaned, validated content.
        Typically raises a :exc:`response.ImmediateResponse` with status code 400 (Bad Request) on failure.
          """
          return data
  
      def filter_response(self, obj):
          """
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/resources.py