Thanks to visit codestin.com
Credit goes to github.com

Skip to content

urllib.request.add_header fails with existing unredirected_header #47005

Description

@zathras
mannequin
BPO 2756
Nosy @terryjreedy, @facundobatista, @orsenthil, @carlosdamazio
Files
  • add_header_complete.patch: Complete patch with documentation. Typo fixed.
  • issue2756-facundo.diff: Fixes the header grabbing in do_header()
  • 1.py: Test code
  • s.py: Test HTTP Server
  • 2.py: 'Content-length' issue
  • server310.py: Server for 310 bug finding
  • bug310.py: The code to reproduce issue in 3.10
  • 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 = 'https://github.com/orsenthil'
    closed_at = None
    created_at = <Date 2008-05-04.15:11:37.434>
    labels = ['easy', 'type-bug', 'library', '3.10', '3.11']
    title = 'urllib.request.add_header fails with existing unredirected_header'
    updated_at = <Date 2021-12-28.19:07:57.653>
    user = 'https://bugs.python.org/zathras'

    bugs.python.org fields:

    activity = <Date 2021-12-28.19:07:57.653>
    actor = 'carlosdamazio'
    assignee = 'orsenthil'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2008-05-04.15:11:37.434>
    creator = 'zathras'
    dependencies = []
    files = ['10280', '11126', '29705', '29706', '29707', '50523', '50524']
    hgrepos = []
    issue_num = 2756
    keywords = ['patch', 'easy']
    message_count = 16.0
    messages = ['66213', '66263', '66264', '66309', '69212', '71111', '71112', '71227', '75207', '132246', '186188', '186189', '186191', '409156', '409266', '409267']
    nosy_count = 8.0
    nosy_names = ['terry.reedy', 'facundobatista', 'jjlee', 'orsenthil', 'zathras', 'BitTorment', 'volodyaa', 'carlosdamazio']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2756'
    versions = ['Python 3.10', 'Python 3.11']

    Linked PRs

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15pre-release feature fixes, bugs and security fixes3.16new features, bugs and security fixeseasystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions