Skip to content

gh-135468: Improve BaseHandler.http_error_default() parameter descriptions #136797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
readded line
  • Loading branch information
vgiane committed Jul 19, 2025
commit 61deb5b35ded9ca4535b19eb8592a15caa3af25e
1 change: 1 addition & 0 deletions Doc/library/urllib.request.rst
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@ HTTPRedirectHandler Objects
do allow automatic redirection of these responses, changing the POST to a
``GET``, and the default implementation reproduces this behavior.


.. method:: HTTPRedirectHandler.http_error_301(req, fp, code, msg, hdrs)

Redirect to the ``Location:`` or ``URI:`` URL. This method is called by the
Expand Down