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

Skip to content

Configuring proxy_headers for rest authentication. #735

Closed
@ysachin09

Description

@ysachin09

I'm using Configuration object to be passed to the RESTClientObject class which, in it's constructor calls the proxy manager. The ProxyManager accepts the proxy_header attribute(defaults to None). Now the thing is that the Configuration object accepts the proxy_url attribute but misses out on proxy_headers due to which I'm not able to create a proxy configuration for authentication.

Here's the configuration file

def __init__(self):

And here goes the rest client

self.pool_manager = urllib3.ProxyManager(

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions