      allow_unknown_form_fields = False
      """
      Flag to check for unknown fields when validating a form. If set to false and
      we receive request data that is not expected by the form it raises an
      :exc:`response.ErrorResponse` with status code 400. If set to true, only
      expected fields are validated.
      """
  
      def validate_request(self, data, files=None):
          """
 
</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         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         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         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 :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.
    :exc:`response.ImmediateResponse` with status code 400. If set to true, only
      allow_unknown_form_fields = False
      """
      Flag to check for unknown fields when validating a form. If set to false and
      we receive request data that is not expected by the form it raises an
    :exc:`response.ImmediateResponse` with status code 400. If set to true, only
      expected fields are validated.
      """
  
      def validate_request(self, data, files=None):
          """
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