mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according to RFC 7231.
This commit is contained in:
parent
7da6a28a44
commit
6805c0f99f
4 changed files with 23 additions and 5 deletions
|
@ -514,6 +514,11 @@ Miscellaneous
|
|||
:class:`~django.db.models.OneToOneField` ``'_id'`` attribute now unsets the
|
||||
corresponding field. Accessing the field afterwards will result in a query.
|
||||
|
||||
* :func:`~django.utils.cache.patch_vary_headers` now handles an asterisk
|
||||
``'*'`` according to :rfc:`7231#section-7.1.4`, i.e. if a list of header
|
||||
field names contains an asterisk, then the ``Vary`` header will consist of a
|
||||
single asterisk ``'*'``.
|
||||
|
||||
.. _deprecated-features-3.0:
|
||||
|
||||
Features deprecated in 3.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue