Document NO_PROXY support (#15816)

Closes https://github.com/astral-sh/uv/issues/15785.
This commit is contained in:
Charlie Marsh 2025-09-12 13:11:05 -04:00 committed by GitHub
parent 9153d1a5e3
commit bd8a9348bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -474,6 +474,9 @@ impl EnvVars {
/// General proxy for all network requests.
pub const ALL_PROXY: &'static str = "ALL_PROXY";
/// Comma-separated list of hostnames (e.g., `example.com`) and/or patterns (e.g., `192.168.1.0/24`) that should bypass the proxy.
pub const NO_PROXY: &'static str = "NO_PROXY";
/// Timeout (in seconds) for HTTP requests. (default: 30 s)
pub const UV_HTTP_TIMEOUT: &'static str = "UV_HTTP_TIMEOUT";

View file

@ -671,6 +671,10 @@ Disables colored output (takes precedence over `FORCE_COLOR`).
See [no-color.org](https://no-color.org).
### `NO_PROXY`
Comma-separated list of hostnames (e.g., `example.com`) and/or patterns (e.g., `192.168.1.0/24`) that should bypass the proxy.
### `NU_VERSION`
Used to detect `NuShell` usage.