Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

added configuration 'http_proxy' to allow the usage of a proxy #8

Closed
wants to merge 2 commits into from

Conversation

mbohlool
Copy link
Contributor

@mbohlool mbohlool commented Jun 8, 2017

porting kubernetes-client/python#206 to python-base repo.

@mbohlool mbohlool force-pushed the proxy branch 2 times, most recently from 217e40b to dd68a0a Compare June 8, 2017 03:42
**kwargs
)
if config.http_proxy_url is not None:
self.pool_manager = urllib3.proxy_from_url(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a test that mocks proxy_from_url and we ensure it's called when seting config.http_proxy_url

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked the original developer to add test and he didn't have time to do it I guess, I will try to add something. Though I am now short on time and this can take a while.

@pokoli
Copy link

pokoli commented Jun 13, 2017

@mbohlool I've added #15 which updates this to the latest version and adds some unit test.

Willl be great if you can review it.

@mbohlool
Copy link
Contributor Author

closing in favor of #15

@mbohlool mbohlool closed this Jul 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants