mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #26947 -- Added an option to enable the HSTS header preload directive.
This commit is contained in:
@@ -229,6 +229,9 @@ Requests and Responses
|
||||
* :class:`~django.middleware.common.CommonMiddleware` now sets the
|
||||
``Content-Length`` response header for non-streaming responses.
|
||||
|
||||
* Added the :setting:`SECURE_HSTS_PRELOAD` setting to allow appending the
|
||||
``preload`` directive to the ``Strict-Transport-Security`` header.
|
||||
|
||||
Serialization
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user