diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-09-05 13:49:08 -0400 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-09-17 15:17:05 -0300 |
| commit | 00a84fc6f3bb8cca15113e4d41e710123d182b4a (patch) | |
| tree | 09d8a81acf0c768be984e92de5f3f1206630a266 /docs/ref/request-response.txt | |
| parent | 1db79d8acf20c38aaf52e8e7c57f43c0e6501bb9 (diff) | |
Removed versionadded/changed annotations for 5.2.
Diffstat (limited to 'docs/ref/request-response.txt')
| -rw-r--r-- | docs/ref/request-response.txt | 12 |
1 files changed, 0 insertions, 12 deletions
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 |
