#25900: CommonMiddleware's USE_ETAGS broken
-------------------------------------+--------------------
Reporter: derekjamescurtis | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Cache system) | Version: 1.9
Severity: Normal | Keywords: ETags
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+--------------------
ETag support is broken in CommonMiddleware
This appears to have been broken here:
https://github.com/django/django/commit/7a40fef17ab7918cbb1ddc3ba080f42b420f7a48
#diff-1f8be0eae49a1bf37d52829eaeda6a4e
django.utils.cache.**get_conditional_response**'s etag argument needs to
be *unquoted*, however the etag passed by CommonMiddleware's make_response
is quoted.
Pull Request with Regression Test:
https://github.com/django/django/pull/5803
--
Ticket URL: <https://code.djangoproject.com/ticket/25900>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/059.748c61e77101fa9ee5df55b2c0f10206%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.