Skip to content

Support for NO_PROXY environment variable #140

@hgiddens

Description

@hgiddens

As @mmaz mentioned in #127, NO_PROXY is supported by various tools to avoid involving the proxy for a selection of hosts. For example, in the environment I'm using http-client in, external services are only accessible via the proxy, whereas internal services are only accessible directly. Currently I'm working around this explicitly, but direct support for the NO_PROXY environment variable would mean that everything Just Works™.

Other tools that support the variable include:

Other systems typically support the same functionality, although not necessarily via environment variables or with the same syntax. For example, Java sports a http.nonProxyHosts system property.

If you're ok with the idea I'll have a go at an implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions