#9249: Google Analytics' Cookies break CacheMiddleware when SessionMiddleware
turns on Vary: Cookie
-------------------------------+------------------------------------
     Reporter:  pixelcort      |                    Owner:  ambv
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  1.0
     Severity:  Normal         |               Resolution:
     Keywords:  cache cookies  |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  1
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by collinanderson):

 A work around is to create a middleware that deletes all the cookies in
 request.COOKIE that django should ignore. (Just don't delete the important
 cookies. :) Example from DjangoCon.eu  2016: https://youtu.be/AZ4ISa1u-
 HE?t=12548

--
Ticket URL: <https://code.djangoproject.com/ticket/9249#comment:19>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6245628a9ef51c675ff66c9b92d8f5ad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to