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

Allow specification of proxy when creating a client #1

Open
tiberiuvs opened this issue Sep 17, 2019 · 3 comments
Open

Allow specification of proxy when creating a client #1

tiberiuvs opened this issue Sep 17, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@tiberiuvs
Copy link
Contributor

We should be able to make API calls from any of the clients through a proxy.

@tiberiuvs tiberiuvs added the enhancement New feature or request label Sep 17, 2019
@kelvie-pstg
Copy link
Collaborator

Until this is done, the easy workaround would be to set the proxy environment variables as mentioned here:

https://stackoverflow.com/questions/31639742/how-to-pass-all-pythons-traffics-through-a-http-proxy/31641300

@JanosPesti
Copy link

in the pypureclient\pure1\configuration.py
self.proxy = None
is hardcoded, I had to add "import os" and change "None" to "os.environ['http_proxy']" in configuration.py for it to work.

@sdodsley
Copy link
Contributor

sdodsley commented Dec 8, 2023

Under investigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants