mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
bpo-40321: Add missing test, slightly expand documentation (GH-28760)
This commit is contained in:
parent
61892c0476
commit
f528045f69
4 changed files with 12 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue