diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2021-10-06 15:28:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 15:28:16 (GMT) |
commit | f528045f695f7483d955a1eae4c1df68b1b4cacd (patch) | |
tree | 0aa89e755f8672aca1a635762dbaf0fef795a072 /Doc | |
parent | 61892c04764e1f3a659bbd09e6373687a27d36e2 (diff) | |
download | cpython-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.rst | 8 |
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: |