Skip to content

urllib.request.add_header fails with existing unredirected_header #47005

@zathras

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']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixeseasystdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy