django1/django/middleware
Alex Hayward eeed488a34 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.
2021-09-01 14:02:37 +02:00
..
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
cache.py Refs #26601 -- Made get_response argument required and don't accept None in middleware classes. 2021-01-14 17:50:04 +01:00
clickjacking.py Fixed #31789 -- Added a new headers interface to HttpResponse. 2020-09-14 08:41:59 +02:00
common.py Made small readability improvements. 2020-10-28 20:20:20 +01:00
csrf.py Refs #32800 -- Added _add_new_csrf_cookie() helper function. 2021-08-17 12:23:54 +02:00
gzip.py Fixed #31789 -- Added a new headers interface to HttpResponse. 2020-09-14 08:41:59 +02:00
http.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
locale.py Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern. 2021-09-01 14:02:37 +02:00
security.py Fixed #32678 -- Removed SECURE_BROWSER_XSS_FILTER setting. 2021-04-30 12:32:52 +02:00