summaryrefslogtreecommitdiff
path: root/docs/ref/request-response.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-05 11:20:50 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 17:50:04 +0100
commitb7dd89ed5389067cb70294682ffef1ba23d33934 (patch)
tree9d1cf97b9fda1ea8798cd543aee9d3f738a931f2 /docs/ref/request-response.txt
parent8774b1144c08f18e23381ffae7084dbc05ebfe37 (diff)
Removed versionadded/changed annotations for 3.1.
Diffstat (limited to 'docs/ref/request-response.txt')
-rw-r--r--docs/ref/request-response.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 4528373b8c..819272bd6e 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -406,8 +406,6 @@ Methods
.. method:: HttpRequest.accepts(mime_type)
- .. versionadded:: 3.1
-
Returns ``True`` if the request ``Accept`` header matches the ``mime_type``
argument::
@@ -911,10 +909,6 @@ Methods
.. _HttpOnly: https://owasp.org/www-community/HttpOnly
.. _SameSite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
- .. versionchanged:: 3.1
-
- Using ``samesite='None'`` (string) was allowed.
-
.. warning::
:rfc:`RFC 6265 <6265#section-6.1>` states that user agents should
@@ -932,10 +926,6 @@ Methods
you will need to remember to pass it to the corresponding
:meth:`HttpRequest.get_signed_cookie` call.
- .. versionchanged:: 3.1
-
- Using ``samesite='None'`` (string) was allowed.
-
.. method:: HttpResponse.delete_cookie(key, path='/', domain=None, samesite=None)
Deletes the cookie with the given key. Fails silently if the key doesn't
@@ -945,10 +935,6 @@ Methods
values you used in ``set_cookie()`` -- otherwise the cookie may not be
deleted.
- .. versionchanged:: 2.2.15
-
- The ``samesite`` argument was added.
-
.. method:: HttpResponse.close()
This method is called at the end of the request directly by the WSGI