Visitar URL original
xmlrpc can't do proxied HTTP · Issue #37568 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20241214185339/https://github.com/python/cpython/issues/37568
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmlrpc can't do proxied HTTP #37568

Open
bbum mannequin opened this issue Dec 4, 2002 · 9 comments
Open

xmlrpc can't do proxied HTTP #37568

bbum mannequin opened this issue Dec 4, 2002 · 9 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@bbum
Copy link
Mannequin

bbum mannequin commented Dec 4, 2002

BPO 648658
Nosy @warsaw, @orsenthil, @djc
Files
  • HTTPTransport.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 2002-12-04.22:04:35.000>
    labels = ['type-feature', 'library']
    title = "xmlrpc can't do proxied HTTP"
    updated_at = <Date 2014-02-03.18:21:39.393>
    user = 'https://bugs.python.org/bbum'

    bugs.python.org fields:

    activity = <Date 2014-02-03.18:21:39.393>
    actor = 'BreamoreBoy'
    assignee = 'orsenthil'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2002-12-04.22:04:35.000>
    creator = 'bbum'
    dependencies = []
    files = ['8213']
    hgrepos = []
    issue_num = 648658
    keywords = []
    message_count = 8.0
    messages = ['53707', '53708', '69044', '71420', '71421', '71727', '72623', '189984']
    nosy_count = 6.0
    nosy_names = ['barry', 'bbum', 'gjb1002', 'orsenthil', 'techtonik', 'djc']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue648658'
    versions = ['Python 3.2']

    @bbum
    Copy link
    Mannequin Author

    bbum mannequin commented Dec 4, 2002

    The current xmlrpclib can't communicate through a proxy
    server. In particular, the two Transport classes
    contained within xmlrpclib use httplib directly and, as
    such, do not support the proxy handling as offered by
    urllib.

    Or so it seems.

    I'm in dire need of support for proxies in xmlrpclib
    and will be investigating creating a custom Transport
    class that uses urllib as opposed to httplib to gain
    support for proxies.

    Assuming success, I'll post the new transport class
    here. In the interim, I figured I would log a bug in
    case anyone else is interested in working on the
    problem (or already has a solution :).

    b.bum
    bbum@mac.com

    @bbum bbum mannequin assigned effbot Dec 4, 2002
    @bbum bbum mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Dec 4, 2002
    @bbum bbum mannequin assigned effbot Dec 4, 2002
    @bbum bbum mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Dec 4, 2002
    @bbum
    Copy link
    Mannequin Author

    bbum mannequin commented Dec 8, 2002

    Logged In: YES
    user_id=103811

    As discussed on python-dev and with Fredrick Lundh, I
    created an HTTPTransport class that uses urllib2 to
    implement the HTTP transport. It works around a bug in
    urllib2 [handler ordering] and augments the request dispatch
    found in the Transport class.

    I'm using it in a production context and have tested it
    fairly heavily.

    @techtonik
    Copy link
    Mannequin

    techtonik mannequin commented Jul 1, 2008

    I will be second to emphasize the importance of using XML-RPC through a
    proxy. bzr behind a proxy can't be used with launchpad because of this bug.

    @gjb1002
    Copy link
    Mannequin

    gjb1002 mannequin commented Aug 19, 2008

    Somebody else here in desperate need of this bug being fixed, both to
    talk to bazaar and bugzilla...

    @effbot
    Copy link
    Mannequin

    effbot mannequin commented Aug 19, 2008

    It's a missing feature, not a bug in the existing code. But if you're
    desperate, why not just use the transport implementation that's attached
    to this issue?

    @gjb1002
    Copy link
    Mannequin

    gjb1002 mannequin commented Aug 22, 2008

    Well, strictly speaking, yes. It just feels like a rather major omission
    (when Python can do xmlrpc and handle proxies you hope it will handle
    the combination).

    "Desperate" doesn't really have a timeline, strangely enough :) I know I
    will be talking to bazaar and bugzilla behind a proxy in the mid-term
    future and it would be very useful to use an officially sanctioned
    solution (though of course I will try the attached file if there isn't
    one at the time).

    I see Python 2.6 is nearing release candidates : is this likely to be
    included or will we have to wait for 2.7 now?

    @djc
    Copy link
    Member

    djc commented Sep 5, 2008

    Would this be solved by bpo-1424152?

    @BreamoreBoy BreamoreBoy mannequin assigned orsenthil and unassigned effbot Jul 25, 2010
    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented May 25, 2013

    Could someone take a look at this while investigating other xmlrpc issues e.g. bpo-7727.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    @qvipin
    Copy link

    qvipin commented Nov 17, 2024

    rip no one is ever going to solve this

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants