  
      def validate_request(self, data, files=None):
          """
          Given some content as input return some cleaned, validated content.
          Raises a :exc:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
  
          Validation is standard form or model form validation,
          with an additional constraint that no extra unknown fields may be supplied,
          and that all fields specified by the fields class attribute must be supplied,
          even if they are not validated by the form/model form.
 
</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         On failure the ErrorResponse content is a dict which may contain :obj:`'errors'` and :obj:`'field-errors'` keys.
 </s> add         On failure the ImmediateResponse content is a dict which may contain :obj:`'errors'` and :obj:`'field-errors'` keys. </s> remove         Typically raises a :exc:`response.ErrorResponse` with status code 400 (Bad Request) on failure.
 </s> add         Typically 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         On failure the :exc:`response.ErrorResponse` content is a dict which may contain :obj:`'errors'` and :obj:`'field-errors'` keys.
 </s> add         On failure the :exc:`response.ImmediateResponse` content is a dict which may contain :obj:`'errors'` and :obj:`'field-errors'` keys.
        Raises a :exc:`response.ImmediateResponse` with status code 400 (Bad Request) on failure.
  
      def validate_request(self, data, files=None):
          """
          Given some content as input return some cleaned, validated content.
        Raises a :exc:`response.ImmediateResponse` with status code 400 (Bad Request) on failure.
  
          Validation is standard form or model form validation,
          with an additional constraint that no extra unknown fields may be supplied,
          and that all fields specified by the fields class attribute must be supplied,
          even if they are not validated by the form/model form.
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