Removed obsolete RFC from cookie docs.

RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.
This commit is contained in:
Nick Pope 2018-06-25 14:23:04 +01:00 committed by Tim Graham
parent d41a1005eb
commit 2afd670de5
1 changed files with 5 additions and 5 deletions

View File

@ -818,11 +818,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)