cwninja/geminabox — pull request #51 by exempla (2012-02-18 23:38:55+00:00)
Title: Add support for no_proxy environment variable

In an environment where a proxy server is required to access the internet, it is common for workstations to be configured with both http_proxy and no_proxy environment variables. The [no_proxy](http://www.w3.org/Daemon/User/Proxies/ProxyClients.html#no_proxy) variable defines a list of host patterns that should be accessed without the proxy (typically internal hosts).

When geminabox is installed behind the firewall is such an environment, its url would match one of the no_proxy patterns.

The gem inabox command currently honours the http_proxy variable only, causing the upload request to be sent to the proxy instead of directly to the geminabox host.

This patch adds support for the no_proxy environment variable to the gem inabox command.