Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: NO_PROXY environment variable can be used to override HTTP(S)_PROXY values #301

Merged
merged 1 commit into from
Aug 19, 2024

Commits on Aug 13, 2024

  1. feat: NO_PROXY environment variable can be used to override `HTTP(S…

    …)_PROXY` values
    
    When determining if a proxy should be used, the SDK would:
    
    1. Check the `config.http_config.http_proxy` value. If that is set, use
       that value without further consideration.
    2. If the target URI is `https`, use the value from the `HTTPS_PROXY`
       environment variable.
    3. If the target is `http`, use `HTTP_PROXY` instead.
    
    The SDK will now support another environment variable -- `NO_PROXY`.
    This variable can be set to a comma-separated list of hosts to exclude
    from proxy support, or the special case '*' meaning to ignore all hosts.
    
    The `NO_PROXY` variable will only take affect if the SDK isn't
    explicitly configured to use a proxy as specified in #1 above.
    keelerm84 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    67a6394 View commit details
    Browse the repository at this point in the history