python / python/cpython

HTTPRedirectHandler fails on POST for 307 and 308

Open
#91,306 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.11 3.8 (EOL) 3.9 (EOL) stdlib type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 47150
Nosy @orsenthil, @corona10, @Yajo

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2022-03-29.09:26:11.943>
labels = ['type-bug', '3.8', '3.9', '3.10', '3.11', 'library']
title = 'HTTPRedirectHandler fails on POST for 307 and 308'
updated_at = <Date 2022-03-31.00:07:30.666>
user = 'https://github.com/Yajo'

bugs.python.org fields:

activity = <Date 2022-03-31.00:07:30.666>
actor = 'ned.deily'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2022-03-29.09:26:11.943>
creator = 'Jairo Llopis'
dependencies = []
files = []
hgrepos = []
issue_num = 47150
keywords = []
message_count = 1.0
messages = ['416249']
nosy_count = 3.0
nosy_names = ['orsenthil', 'corona10', 'Jairo Llopis']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue47150'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by locating HTTPRedirectHandler and reproducing its behavior for POST requests redirected with 307 and 308; done means those redirects no longer fail. Check the existing HTTP library tests while determining the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.