summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-10-06 15:28:16 (GMT)
committerGitHub <noreply@github.com>2021-10-06 15:28:16 (GMT)
commitf528045f695f7483d955a1eae4c1df68b1b4cacd (patch)
tree0aa89e755f8672aca1a635762dbaf0fef795a072 /Doc
parent61892c04764e1f3a659bbd09e6373687a27d36e2 (diff)
downloadcpython-f528045f695f7483d955a1eae4c1df68b1b4cacd.zip
cpython-f528045f695f7483d955a1eae4c1df68b1b4cacd.tar.gz
cpython-f528045f695f7483d955a1eae4c1df68b1b4cacd.tar.bz2
bpo-40321: Add missing test, slightly expand documentation (GH-28760)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 099d74b..88e93ba 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -876,13 +876,17 @@ HTTPRedirectHandler Objects
.. method:: HTTPRedirectHandler.http_error_307(req, fp, code, msg, hdrs)
The same as :meth:`http_error_301`, but called for the 'temporary redirect'
- response.
+ response. It does not allow changing the request method from ``POST``
+ to ``GET``.
.. method:: HTTPRedirectHandler.http_error_308(req, fp, code, msg, hdrs)
The same as :meth:`http_error_301`, but called for the 'permanent redirect'
- response.
+ response. It does not allow changing the request method from ``POST``
+ to ``GET``.
+
+ .. versionadded:: 3.11
.. _http-cookie-processor: