powerman / dockerize

Utility to simplify running applications in docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Honoring PROXY settings

iaean opened this issue · comments

commented

Is it possible to let the http.Client honor HTTP_PROXY, HTTPS_PROXY and NO_PROXY from environment?

E.g. here

client := &http.Client{

AFAIK its just add Proxy: http.ProxyFromEnvironment to the transport config. But I'm not really familiar with Go.

Thx for your investigation.

Sounds like a good idea!

Released in 0.17.0.