#32768: An incorrect language is sometimes displayed - redirects adding a language code to a path can be inappropriate cached by HTTP caches -------------------------------------+------------------------------------- Reporter: Alex Hayward | Owner: nobody Type: Bug | Status: closed Component: | Version: 3.1 Internationalization | Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Carlton Gibson <carlton@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"eeed488a3439c5c5c3f0b5991ee400851057e127" eeed488a]: {{{ #!CommitTicketReference repository="" revision="eeed488a3439c5c5c3f0b5991ee400851057e127" Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern. get_language_from_request() uses Accept-Language and/or Cookie to determine the correct redirect. Upstream caches need the matching Vary header to cache the result. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32768#comment:4> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/070.fa2cf2506b7b58390ddc812bce9372ef%40djangoproject.com.