This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib.request does not support HTTP response status code 308
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Jochem Schulenklopper, lukasz.langa, miss-islington, orsenthil, python-dev, rolandcrosby
Priority: normal Keywords: patch

Created on 2020-04-18 17:47 by Jochem Schulenklopper, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 19588 merged python-dev, 2020-04-18 18:27
PR 28750 closed miss-islington, 2021-10-06 02:03
PR 28751 closed miss-islington, 2021-10-06 02:03
PR 28760 merged lukasz.langa, 2021-10-06 13:53
Messages (5)
msg366729 - (view) Author: Jochem Schulenklopper (Jochem Schulenklopper) * Date: 2020-04-18 17:47
urllib.request does not yet support HTTP response status code 308, as defined in IETF RFC 7538, https://tools.ietf.org/html/rfc7538.

308 (permanent redirect) is the 307-variant (temporary redirect) of 301 (moved permanently).
msg402817 - (view) Author: Roland Crosby (rolandcrosby) * Date: 2021-09-29 02:44
Hi, wanted to ping those watching this issue - there is a complete PR on GitHub, and all contributors have signed the CLA, but the bot hasn't updated the CLA status on the PR so it's still shown as blocking. Would appreciate if someone could manually fix the status and help get this merged.
msg403283 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2021-10-06 02:03
New changeset c379bc5ec9012cf66424ef3d80612cf13ec51006 by Jochem Schulenklopper in branch 'main':
bpo-40321: Support HTTP response status code 308 in urllib.request (#19588)
https://github.com/python/cpython/commit/c379bc5ec9012cf66424ef3d80612cf13ec51006
msg403319 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-10-06 15:28
New changeset f528045f695f7483d955a1eae4c1df68b1b4cacd by Łukasz Langa in branch 'main':
bpo-40321: Add missing test, slightly expand documentation (GH-28760)
https://github.com/python/cpython/commit/f528045f695f7483d955a1eae4c1df68b1b4cacd
msg403320 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-10-06 15:29
Senthil, we can't be backporting new APIs to bugfix versions. I took care of updating tests and docs (versionadded), thanks for the code review.

Thanks for the fix, Jochem! ✨ 🍰 ✨
History
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84501
2021-10-06 15:29:43lukasz.langasetstatus: open -> closed
versions: + Python 3.11, - Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
type: behavior -> enhancement
messages: + msg403320

resolution: fixed
stage: patch review -> resolved
2021-10-06 15:28:25lukasz.langasetmessages: + msg403319
2021-10-06 13:53:40lukasz.langasetnosy: + lukasz.langa
pull_requests: + pull_request27101
2021-10-06 02:03:29miss-islingtonsetpull_requests: + pull_request27096
2021-10-06 02:03:24miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request27095
2021-10-06 02:03:04orsenthilsetmessages: + msg403283
2021-09-29 02:44:31rolandcrosbysetnosy: + rolandcrosby
messages: + msg402817
2020-04-18 20:40:00ned.deilysetnosy: + orsenthil
2020-04-18 18:27:07python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request18925
stage: patch review
2020-04-18 17:47:38Jochem Schulenkloppercreate