          """
          Ensure request.DATA returns None for HEAD request.
          """
          request = Request(factory.head('/'))
          self.assertEqual(request.DATA, None)
  
      def test_request_DATA_with_form_content(self):
          """
          Ensure request.DATA returns content for POST request with form content.
          """
 
</s> remove         Ensure request.DATA returns None for HEAD request.
 </s> add         Ensure request.DATA returns empty QueryDict for HEAD request. </s> remove         self.assertEqual(request.DATA, None)
 </s> add         self.assertEqual(request.DATA, {}) </s> remove         Ensure request.DATA returns None for GET request with no content.
 </s> add         Ensure request.DATA returns empty QueryDict for GET request. </s> remove             return (parsed, None)
 </s> add             empty_files = MultiValueDict()
            return (parsed, empty_files) </s> remove             return (None, None)
 </s> add             empty_data = QueryDict('', self._request._encoding)
            empty_files = MultiValueDict()
            return (empty_data, empty_files)
        self.assertEqual(request.DATA, {})
          """
          Ensure request.DATA returns None for HEAD request.
          """
          request = Request(factory.head('/'))
        self.assertEqual(request.DATA, {})
  
      def test_request_DATA_with_form_content(self):
          """
          Ensure request.DATA returns content for POST request with form content.
          """
keep keep keep keep replace keep keep keep keep keep
 request.DATA should use empty QueryDict for no data, not None. 
rest_framework/tests/request.py