From 00a84fc6f3bb8cca15113e4d41e710123d182b4a Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Fri, 5 Sep 2025 13:49:08 -0400 Subject: Removed versionadded/changed annotations for 5.2. --- docs/ref/request-response.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'docs/ref/request-response.txt') diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 892dc24008..5a2696993c 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -429,8 +429,6 @@ Methods .. method:: HttpRequest.get_preferred_type(media_types) - .. versionadded:: 5.2 - Returns the preferred mime type from ``media_types``, based on the ``Accept`` header, or ``None`` if the client does not accept any of the provided types. @@ -882,8 +880,6 @@ Attributes .. attribute:: HttpResponse.text - .. versionadded:: 5.2 - A string representation of :attr:`HttpResponse.content`, decoded using the response's :attr:`HttpResponse.charset` (defaulting to ``UTF-8`` if empty). @@ -1130,20 +1126,12 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in This read-only attribute represents the URL the response will redirect to (equivalent to the ``Location`` response header). - .. versionchanged:: 5.2 - - The ``preserve_request`` argument was added. - .. class:: HttpResponsePermanentRedirect Like :class:`HttpResponseRedirect`, but it returns a permanent redirect (HTTP status code 301) instead of a "found" redirect (status code 302). When ``preserve_request=True``, the response's status code is 308. - .. versionchanged:: 5.2 - - The ``preserve_request`` argument was added. - .. class:: HttpResponseNotModified The constructor doesn't take any arguments and no content should be added -- cgit v1.3