urllib2 cannot handle https with proxy requiring auth

Open
#51,540 24 comments 0 reactions 1 assignee View on GitHub

@orsenthil is already working on this.

Since Nov 15, 2009.

Assessment

This issue has not been assessed yet.

Description

3.10 3.7 (EOL) 3.8 (EOL) 3.9 (EOL) stdlib
BPO 7291
Nosy @ronaldoussoren, @orsenthil, @vadmium, @yan12125, @OneMoreZanuda
Files
  • https_proxy_auth.patch: patch to send Proxy-Authorization header in CONNECT method(https proxy)
  • urllib2_with_proxy_auth_comparison.py
  • 2_7_x.patch: 2.7 maintenance branch patch
  • monkey_2_6_4.py: 2.6.4 monkey patch
  • urllib2_tests.tar.gz: Test code, results and instructions
  • http_proxy_https.patch: Fix handling of 407 and 401 in urllib2 and httplib
  • new_http_proxy_patch.py
  • 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 2009-11-09.04:38:16.601>
    labels = ['3.8', '3.7', 'library', '3.9', '3.10']
    title = 'urllib2 cannot handle https with proxy requiring auth'
    updated_at = <Date 2020-08-02.19:06:17.855>
    user = 'https://bugs.python.org/tsujikawa'
    

    bugs.python.org fields:

    activity = <Date 2020-08-02.19:06:17.855>
    actor = 'alexey.namyotkin'
    assignee = 'orsenthil'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2009-11-09.04:38:16.601>
    creator = 'tsujikawa'
    dependencies = []
    files = ['15296', '15669', '20798', '20799', '20822', '20824', '34174']
    hgrepos = []
    issue_num = 7291
    keywords = ['patch']
    message_count = 24.0
    messages = ['95058', '95060', '95373', '95377', '96659', '96660', '96661', '96844', '96845', '96846', '100840', '103090', '128861', '128862', '128952', '128953', '128955', '211850', '211860', '228406', '244513', '247805', '283306', '374687']
    nosy_count = 11.0
    nosy_names = ['ronaldoussoren', 'orsenthil', 'mbeachy', 'dieresys', 'tsujikawa', 'b.a.scott', 'martin.panter', 'vzafzal', 'yan12125', 'alexey.namyotkin', 'Jessica Ridgley']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue7291'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    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.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.