  
  class TestContentParsing(TestCase):
      def test_standard_behaviour_determines_no_content_GET(self):
          """
          Ensure request.DATA returns None for GET request with no content.
          """
          request = Request(factory.get('/'))
          self.assertEqual(request.DATA, None)
  
      def test_standard_behaviour_determines_no_content_HEAD(self):
 
</s> remove         self.assertEqual(request.DATA, None)
 </s> add         self.assertEqual(request.DATA, {}) </s> remove         self.assertEqual(request.DATA, None)
 </s> add         self.assertEqual(request.DATA, {}) </s> remove         Ensure request.DATA returns None for HEAD request.
 </s> add         Ensure request.DATA returns empty QueryDict for HEAD 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)
        Ensure request.DATA returns empty QueryDict for GET request.
  
  class TestContentParsing(TestCase):
      def test_standard_behaviour_determines_no_content_GET(self):
          """
        Ensure request.DATA returns empty QueryDict for GET request.
          """
          request = Request(factory.get('/'))
          self.assertEqual(request.DATA, None)
  
      def test_standard_behaviour_determines_no_content_HEAD(self):
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