summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2018-06-25 14:23:04 +0100
committerTim Graham <timograham@gmail.com>2019-03-27 10:13:05 -0400
commitc04bd386d456af588be431fa7f0b69430d840892 (patch)
tree6194becb235fcbaca510af2d31237bca01257d6c
parenta86ffb3e0fd8a37ff1b9affc177e81ef9298ec36 (diff)
[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
-rw-r--r--docs/ref/request-response.txt10
1 files 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)