1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #26158 -- Rewrote http.parse_cookie() to better match browsers.

This commit is contained in:
Collin Anderson
2016-03-11 21:36:08 -05:00
committed by Tim Graham
parent e7e5d9b338
commit 93a135d111
4 changed files with 70 additions and 17 deletions

View File

@@ -354,6 +354,10 @@ Requests and Responses
:attr:`~django.http.HttpRequest.content_params` attributes which are
parsed from the ``CONTENT_TYPE`` header.
* The parser for ``request.COOKIES`` is simplified to better match the behavior
of browsers. ``request.COOKIES`` may now contain cookies that are invalid
according to :rfc:`6265` but are possible to set via ``document.cookie``.
Serialization
~~~~~~~~~~~~~