1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #28965 -- Updated Set-Cookie's Expires date format to follow RFC 7231.

This commit is contained in:
Alexey
2017-12-28 00:49:46 +03:00
committed by Tim Graham
parent 5f456408a0
commit 0afffae4ec
6 changed files with 20 additions and 15 deletions

View File

@@ -232,6 +232,12 @@ Miscellaneous
* The minimum supported version of ``mysqlclient`` is increased from 1.3.3 to
1.3.7.
* The date format of ``Set-Cookie``'s ``Expires`` directive is changed to
follow :rfc:`7231#section-7.1.1.1` instead of Netscape's cookie standard.
Hyphens present in dates like ``Tue, 25-Dec-2018 22:26:13 GMT`` are removed.
This change should be merely cosmetic except perhaps for antiquated browsers
that don't parse the new format.
.. _deprecated-features-2.1:
Features deprecated in 2.1