Skip to content

Add urllib2.HTTPBasicPriorAuthHandler for use with APIs that don't return 401 errors #63693

@mcepl

Description

@mcepl
mannequin
BPO 19494
Nosy @arigo, @ncoghlan, @orsenthil, @pitrou, @tiran, @mcepl, @bitdancer, @Rosuav, @axitkhurana, @sigmavirus24, @demianbrecht
Files
  • 0001-Add-an-authorization-header-to-the-initial-request.patch: suggested patch for python 2.7
  • 0001-Add-an-authorization-header-to-the-initial-request.patch: Version of above patch which applies to 3.4
  • fix-issue19494-py35.patch: suggested patch
  • fix-issue19494-py27.patch: the same patch working for 2.7
  • 0001-Alternative-handler-adding-Authorization-header-even.patch
  • 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 = <Date 2014-11-12.13:34:47.019>
    created_at = <Date 2013-11-04.15:00:19.434>
    labels = ['type-feature', 'library']
    title = "Add urllib2.HTTPBasicPriorAuthHandler for use with APIs that don't return 401 errors"
    updated_at = <Date 2015-04-16.20:44:13.981>
    user = 'https://github.com/mcepl'

    bugs.python.org fields:

    activity = <Date 2015-04-16.20:44:13.981>
    actor = 'axitkhurana'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-11-12.13:34:47.019>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2013-11-04.15:00:19.434>
    creator = 'mcepl'
    dependencies = []
    files = ['34031', '34041', '36343', '36344', '36595']
    hgrepos = ['267', '268']
    issue_num = 19494
    keywords = ['patch']
    message_count = 43.0
    messages = ['202144', '202158', '204339', '210891', '210937', '210938', '210939', '210940', '210947', '210974', '211009', '212540', '212578', '212592', '212597', '225087', '225088', '225169', '225179', '225182', '225183', '225192', '225196', '225197', '225198', '225201', '225209', '225210', '225211', '225227', '226229', '226630', '226717', '226725', '228428', '228834', '228925', '228933', '228999', '231058', '231076', '241272', '241273']
    nosy_count = 12.0
    nosy_names = ['arigo', 'ncoghlan', 'orsenthil', 'pitrou', 'christian.heimes', 'mcepl', 'r.david.murray', 'python-dev', 'Rosuav', 'axitkhurana', 'icordasc', 'demian.brecht']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19494'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions