david-caro / python-foreman

Small low level python wrapper around Foreman API
GNU General Public License v2.0
58 stars 37 forks source link

Proxy support #17

Open mmessmore opened 10 years ago

mmessmore commented 10 years ago

It would be nice if the library supported http proxies. Currently there is an outstanding issue with requests.Session that breaks this because it fails to use the proxy on a redirect using HTTPS. However this should be fixed in the next release.

I have done this locally by adding a proxies argument to the Foreman constructor and then setting the underlying requests.Session.proxies to it.

-mike