Skip to content

Commit

Permalink
[2.2.x] Removed obsolete RFC from cookie docs.
Browse files Browse the repository at this point in the history
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.

Backport of 2afd670 from master
  • Loading branch information
ngnpope authored and timgraham committed Mar 27, 2019
1 parent a86ffb3 commit c04bd38
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/ref/request-response.txt
Original file line number Diff line number Diff line change
Expand Up @@ -824,11 +824,11 @@ Methods

.. warning::

Both :rfc:`2109` and :rfc:`6265` state that user agents should support
cookies of at least 4096 bytes. For many browsers this is also the
maximum size. Django will not raise an exception if there's an attempt
to store a cookie of more than 4096 bytes, but many browsers will not
set the cookie correctly.
:rfc:`6265` states that user agents should support cookies of at least
4096 bytes. For many browsers this is also the maximum size. Django
will not raise an exception if there's an attempt to store a cookie of
more than 4096 bytes, but many browsers will not set the cookie
correctly.

.. method:: HttpResponse.set_signed_cookie(key, value, salt='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=False, samesite=None)

Expand Down

0 comments on commit c04bd38

Please sign in to comment.