diff options
| author | Kevin Christopher Henry <k@severian.com> | 2016-09-01 09:32:20 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-10 08:14:52 -0400 |
| commit | 4ef0e019b7dd3d2bf93b5c705b3b7df9cdb77561 (patch) | |
| tree | 3b87b0f6df6ca459833f0569df3c2f6320ff4d67 /django/middleware/http.py | |
| parent | e7abb5ba8608f90ce97c6edb031ae877195616f5 (diff) | |
Fixed #27083 -- Added support for weak ETags.
Diffstat (limited to 'django/middleware/http.py')
| -rw-r--r-- | django/middleware/http.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/middleware/http.py b/django/middleware/http.py index a3030463c4..83c0f866e4 100644 --- a/django/middleware/http.py +++ b/django/middleware/http.py @@ -1,6 +1,6 @@ from django.utils.cache import get_conditional_response from django.utils.deprecation import MiddlewareMixin -from django.utils.http import http_date, parse_http_date_safe, unquote_etag +from django.utils.http import http_date, parse_http_date_safe class ConditionalGetMiddleware(MiddlewareMixin): @@ -24,7 +24,7 @@ class ConditionalGetMiddleware(MiddlewareMixin): if etag or last_modified: return get_conditional_response( request, - etag=unquote_etag(etag), + etag=etag, last_modified=last_modified, response=response, ) |
