summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-12-27 20:35:20 -0500
committerTim Graham <timograham@gmail.com>2019-01-17 10:52:19 -0500
commit958a7b4ca69434d0145fd569cf007e21841bb36c (patch)
tree6652f46a4edf7a6f9592b216a2c47c9f66803697 /docs/ref
parent6f23996a597a302e2a3cac265f70b48f4aa02b11 (diff)
Refs #28965 -- Removed utils.http.cookie_date() per deprecation timeline.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 6a7d4b6549..84cffddde0 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -700,20 +700,6 @@ escaping HTML.
A version of Python's :func:`urllib.parse.urlencode` function that can
operate on ``MultiValueDict`` and non-string values.
-.. function:: cookie_date(epoch_seconds=None)
-
- .. deprecated:: 2.1
-
- Use :func:`http_date` instead, which follows the latest RFC.
-
- Formats the time to ensure compatibility with Netscape's cookie standard.
-
- Accepts a floating point number expressed in seconds since the epoch in
- UTC--such as that outputted by ``time.time()``. If set to ``None``,
- defaults to the current time.
-
- Outputs a string in the format ``Wdy, DD-Mon-YYYY HH:MM:SS GMT``.
-
.. function:: http_date(epoch_seconds=None)
Formats the time to match the :rfc:`1123` date format as specified by HTTP