]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40321: Support HTTP response status code 308 in urllib.request (#19588)
authorJochem Schulenklopper <j.schulenklopper@gmail.com>
Wed, 6 Oct 2021 02:02:58 +0000 (04:02 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 02:02:58 +0000 (19:02 -0700)
commitc379bc5ec9012cf66424ef3d80612cf13ec51006
treead2aac1c9b349e089e3d49a191a4a57b05dec2c0
parent241bda785a092a272d7e0f6a4e20bd250c389cfe
bpo-40321: Support HTTP response status code 308 in urllib.request (#19588)

* Support HTTP response status code 308 in urllib.

HTTP response status code 308 is defined in https://tools.ietf.org/html/rfc7538 to be the permanent redirect variant of 307 (temporary redirect).

* Update documentation to include http_error_308()

* Add blurb for bpo-40321 fix

Co-authored-by: Roland Crosby <roland@rolandcrosby.com>
Doc/library/urllib.request.rst
Lib/urllib/request.py
Misc/NEWS.d/next/Library/2021-07-22-21-25-56.bpo-40321.gBlFmw.rst [new file with mode: 0644]