From c04bd386d456af588be431fa7f0b69430d840892 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Mon, 25 Jun 2018 14:23:04 +0100 Subject: [PATCH] [2.2.x] Removed obsolete RFC from cookie docs. RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265. Backport of 2afd670de5b2f28f56f722a95344fb7eefad3d37 from master --- docs/ref/request-response.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 60be2ff9fa..0c8067c66d 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -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)