          etags = http.parse_etags(r'"", "etag", "e\"t\"ag", "e\\tag", W/"weak"')
          self.assertEqual(etags, ['', 'etag', 'e"t"ag', r'e\tag', 'weak'])
  
      def test_quoting(self):
          quoted_etag = http.quote_etag(r'e\t"ag')
          self.assertEqual(quoted_etag, r'"e\\t\"ag"')
  
  
  class HttpDateProcessingTests(unittest.TestCase):
      def test_http_date(self):
 
</s> remove from django.utils.http import http_date, parse_http_date_safe
 </s> add from django.utils.http import http_date, parse_http_date_safe, unquote_etag
        original_etag = r'e\t"ag'
        quoted_etag = http.quote_etag(original_etag)
          etags = http.parse_etags(r'"", "etag", "e\"t\"ag", "e\\tag", W/"weak"')
          self.assertEqual(etags, ['', 'etag', 'e"t"ag', r'e\tag', 'weak'])
  
      def test_quoting(self):
        original_etag = r'e\t"ag'
        quoted_etag = http.quote_etag(original_etag)
          self.assertEqual(quoted_etag, r'"e\\t\"ag"')
  
  
  class HttpDateProcessingTests(unittest.TestCase):
      def test_http_date(self):
keep keep keep keep replace keep keep keep keep keep
 Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.

Thanks Denis Cornehl for help with the patch. 
tests/utils_tests/test_http.py