  from django.core.mail import mail_managers
  from django.urls import is_valid_path
  from django.utils.cache import get_conditional_response, set_response_etag
  from django.utils.encoding import force_text
  from django.utils.six.moves.urllib.parse import urlparse
  
  logger = logging.getLogger('django.request')
  
  
 
</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 </s> remove         quoted_etag = http.quote_etag(r'e\t"ag')
 </s> add         original_etag = r'e\t"ag'
        quoted_etag = http.quote_etag(original_etag) </s> remove * ...
 </s> add * Fixed a regression in ``ConditionalGetMiddleware`` causing ``If-None-Match`` checks
  to always return HTTP 200 (:ticket:`26024`).
from django.utils.http import unquote_etag
  from django.core.mail import mail_managers
  from django.urls import is_valid_path
  from django.utils.cache import get_conditional_response, set_response_etag
  from django.utils.encoding import force_text
from django.utils.http import unquote_etag
  from django.utils.six.moves.urllib.parse import urlparse
  
  logger = logging.getLogger('django.request')
  
  
keep keep keep add keep keep keep keep keep
 Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.

Thanks Denis Cornehl for help with the patch. 
django/middleware/common.py