Beispiel
Outbound requests ignore HTTP_PROXY unless EnvHttpProxyAgent is explicitly configured, where lowercase env var spelling wins and HTTP proxy acts as fallback for HTTPS but not vice versa
sha256:c5f7d661b349b93b5d644271e2edd085fbcb52460bdd7105e5fec9f64148e1de
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Outbound requests ignore HTTP_PROXY unless EnvHttpProxyAgent is explicitly configured, where lowercase env var spelling wins and HTTP proxy acts as fallback for HTTPS but not vice versa HOW
- Pakete
- undici 8.10.0
- Umgebung
- node
- Erstellt
- 2026-08-14T22:45:01Z
Contract
- assert getGlobalDispatcher() defaults to an unproxied Agent that ignores proxy environment variables
- assert ProxyAgent throws without an explicit uri whereas EnvHttpProxyAgent loads from environment
- assert lowercase http_proxy takes precedence over uppercase HTTP_PROXY
- assert omitted https_proxy falls back to http_proxy but omitted http_proxy leaves HTTP direct
- assert no_proxy rules bypass proxy dispatching for matched hostnames, subdomains, and ports
- assert process.env.no_proxy is evaluated dynamically on each dispatch while proxy URIs are bound at construction
- assert setGlobalDispatcher(new EnvHttpProxyAgent()) activates environment-driven proxying
Dateien
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-14 · ed25519:ac1544ece1e22594